- 24 Jul, 2017 1 commit
-
-
Nikita Ofitserov authored
-
- 23 Jul, 2017 6 commits
-
-
Nikita Ofitserov authored
C++ overload resolution/list initialization rules are hard.
-
Nikita Ofitserov authored
std::initializer_list does not own the temporaries created in its initialization. Therefore, storing it in an independent stack variable is unsafe.
-
Nikita Ofitserov authored
This commit works around an issue in std::initializer_list design. By using a detail::json_ref proxy with a mutable value inside, rvalue-ness of an input to list initializer is remembered and used later to move from the proxy instead of copying.
-
Nikita Ofitserov authored
-
Nikita Ofitserov authored
-
Niels Lohmann authored
We 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 authored
Travis 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 authored
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 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 authored
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"
-
- 15 Jul, 2017 1 commit
-
-
Niels Lohmann authored
Rename BuildTests to JSON_BuildTests
-
- 13 Jul, 2017 1 commit
-
-
Niels Lohmann authored
added Contributor Covenant Code of Conduct
-
- 12 Jul, 2017 1 commit
-
-
Niels Lohmann authored
add ensure_ascii parameter to dump. #330
-
- 11 Jul, 2017 4 commits
-
-
Ryan Mulder authored
-
Ryan Mulder authored
-
Ryan Mulder authored
-
Oleg Endo authored
This avoids potential conflicts with other libraries when the library is built from source and included in a bigger cmake build.
-
- 09 Jul, 2017 17 commits
-
-
Niels Lohmann authored
Refacto/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 authored
Those macros are used to reduce template argument boilerplate
-
Niels Lohmann authored
These versions are still not working properly: https://travis-ci.org/nlohmann/json/jobs/251675281
-
Niels Lohmann authored
As <iostream> is not included in json.hpp any more, all code examples need to include <iostream> now.
-
Niels Lohmann authored
Don't include <iostream>, use std::make_shared
-
Niels Lohmann authored
Maybe 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
-
Oleg Endo authored
avoid bloat caused by <iostream> and std::cout and friends in apps where iostream are not used.
-
- 08 Jul, 2017 1 commit
-
-
Niels Lohmann authored
-