- 29 Jul, 2017 1 commit
- 
- 
dan-42 authoredThe rewrite uses more cmake build-in automatisms and build-in generates variables to allow better generic reuse. * cmake files are installed to ``` <install_prefix>/lib/cmake/nlohmann_json/ ``` for best support on most systems * include path is set to ``` include ``` for usage as ``` #include <nlohmann/json.hpp> ``` 
 
- 
- 27 Jul, 2017 4 commits
- 
- 
Niels Lohmann authoredenable_testing only if the JSON_BuildTests is ON 
- 
Niels Lohmann authoredYou 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. 
- 
Ilya Polishchuk authored
- 
Niels Lohmann authored
 
- 
- 26 Jul, 2017 2 commits
- 
- 
Niels Lohmann authored
- 
Niels Lohmann authored
 
- 
- 23 Jul, 2017 2 commits
- 
- 
Niels Lohmann authored- 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 
- 
Niels Lohmann authoredWe now rely on implicit conversions to an input_adapter object in the parse/accept functions. 
 
- 
- 22 Jul, 2017 5 commits
- 
- 
Niels Lohmann authored
- 
Niels Lohmann authoredTravis found an error with Clang 3.8's sanitizers, see https://travis-ci.org/nlohmann/json/jobs/256366699. Unfortunately, I cannot reproduce this error with clang version 6.0.0 (trunk 308825) locally. However, this seems to be an issue, because so far, we did not reset a value after moving from it. 
- 
Niels Lohmann authored
- 
Niels Lohmann authoredInternally, 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 authored
 
- 
- 21 Jul, 2017 1 commit
- 
- 
Niels Lohmann authored
 
- 
- 20 Jul, 2017 1 commit
- 
- 
Niels Lohmann authored- Replaced codepoint calculation by bit operations. - Fixed several clang-tidy warnings. 
 
- 
- 17 Jul, 2017 1 commit
- 
- 
Niels Lohmann authoredA 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" 
 
- 
- 15 Jul, 2017 1 commit
- 
- 
Niels Lohmann authoredRename BuildTests to JSON_BuildTests 
 
- 
- 13 Jul, 2017 1 commit
- 
- 
Niels Lohmann authoredadded Contributor Covenant Code of Conduct 
 
- 
- 12 Jul, 2017 1 commit
- 
- 
Niels Lohmann authoredadd ensure_ascii parameter to dump. #330 
 
- 
- 11 Jul, 2017 4 commits
- 
- 
Ryan Mulder authored
- 
Ryan Mulder authored
- 
Ryan Mulder authored
- 
Oleg Endo authoredThis avoids potential conflicts with other libraries when the library is built from source and included in a bigger cmake build. 
 
- 
- 09 Jul, 2017 16 commits
- 
- 
Niels Lohmann authoredRefacto/split basic json 
- 
Théo DELRIEU authored
- 
Théo DELRIEU authored
- 
Théo DELRIEU authored
- 
Théo DELRIEU authored
- 
Théo DELRIEU authored
- 
Théo DELRIEU authored
- 
Théo DELRIEU authored
- 
Théo DELRIEU authored
- 
Théo DELRIEU authoredThose macros are used to reduce template argument boilerplate 
- 
Niels Lohmann authoredThese versions are still not working properly: https://travis-ci.org/nlohmann/json/jobs/251675281 
- 
Niels Lohmann authoredAs <iostream> is not included in json.hpp any more, all code examples need to include <iostream> now. 
- 
Niels Lohmann authoredDon't include <iostream>, use std::make_shared 
- 
Niels Lohmann authoredMaybe the simple approach is working now - at least it is in https://github.com/taocpp/PEGTL/blob/master/.travis.yml 
- 
Oleg Endo authored
- 
Oleg Endo authored
 
- 
