- 28 7月, 2017 2 次提交
-
-
由 Niels Lohmann 提交于
-
由 Niels Lohmann 提交于
You can now pass a boolean "allow_exceptions" to the parse functions. If it is false, no exceptions are thrown in case of a parse error. Instead, parsing is stopped at the first error and a JSON value of type "discarded" (check with is_discarded()) is returned.
-
- 27 7月, 2017 1 次提交
-
-
由 Niels Lohmann 提交于
-
- 24 7月, 2017 5 次提交
-
-
由 Nikita Ofitserov 提交于
C++ overload resolution/list initialization rules are hard.
-
由 Niels Lohmann 提交于
- You can now pass a reference to a vector to the to_cbor and to_msgpack functions. The output will be written (appended) to the vector. #476 - You can now pass an output stream with uint8_t character type to the to_cbor and to_msgpack functions. #477 - You can now read from uint8_t */size in the to_cbor and to_msgpack functions. An input adapter will be created from this pair, so you need to use braces. #478
-
由 Nikita Ofitserov 提交于
std::initializer_list does not own the temporaries created in its initialization. Therefore, storing it in an independent stack variable is unsafe.
-
由 Nikita Ofitserov 提交于
-
由 Niels Lohmann 提交于
We now rely on implicit conversions to an input_adapter object in the parse/accept functions.
-
- 22 7月, 2017 3 次提交
-
-
由 Niels Lohmann 提交于
-
由 Niels Lohmann 提交于
Internally, the parser now writes its result into a JSON value provided as a reference. To be usable, the public interfaces need to be extended.
-
由 Niels Lohmann 提交于
-
- 17 7月, 2017 1 次提交
-
-
由 Niels Lohmann 提交于
A complete rewrite of the string escape function. It now provides codepoint-to-\uxxxx escaping. Invalid UTF-8 byte sequences are not escaped, but copied as-is. I haven’t spent much time optimizing the code - but the library now agrees with Python on every single Unicode character’s escaping (see file test/data/json_nlohmann_tests/all_unicode_ascii.json). Other minor changes: replaced "size_t" by "std::size_t"
-
- 12 7月, 2017 1 次提交
-
-
由 Ryan Mulder 提交于
-
- 10 7月, 2017 2 次提交
-
-
由 Théo DELRIEU 提交于
-
由 Théo DELRIEU 提交于
-
- 09 7月, 2017 2 次提交
-
-
由 Oleg Endo 提交于
avoid bloat caused by <iostream> and std::cout and friends in apps where iostream are not used.
-
由 Niels Lohmann 提交于
It makes no sense to have this special exception. Instead of throwing when an input adapter is created, it is better to detect a parse error in later usage when an EOF is "read" unexpectedly.
-
- 08 7月, 2017 4 次提交
-
-
由 Niels Lohmann 提交于
-
由 Niels Lohmann 提交于
-
由 Niels Lohmann 提交于
I have no idea why this test has been removed in the first place.
-
由 Niels Lohmann 提交于
-
- 22 6月, 2017 2 次提交
-
-
由 Niels Lohmann 提交于
-
由 Niels Lohmann 提交于
Travis aborts tests if they do not produce output for 10 minutes. This commit shall fix this.
-
- 21 6月, 2017 8 次提交
-
-
由 Niels Lohmann 提交于
-
由 Niels Lohmann 提交于
-
由 Niels Lohmann 提交于
-
由 Niels Lohmann 提交于
-
由 Niels Lohmann 提交于
-
由 Niels Lohmann 提交于
-
由 Niels Lohmann 提交于
-
由 Niels Lohmann 提交于
-
- 19 6月, 2017 2 次提交
-
-
由 Théo DELRIEU 提交于
-
由 Théo DELRIEU 提交于
-
- 18 6月, 2017 2 次提交
-
-
由 Niels Lohmann 提交于
-
由 Niels Lohmann 提交于
-
- 17 6月, 2017 2 次提交
-
-
由 Niels Lohmann 提交于
-
由 Niels Lohmann 提交于
-
- 13 6月, 2017 3 次提交
-
-
由 Théo DELRIEU 提交于
-
由 Niels Lohmann 提交于
-
由 Niels Lohmann 提交于
Code from https://stackoverflow.com/a/44503794/266378 which is hopefully working with MSVC.
-