- 22 Jul, 2017 3 commits
-
-
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 10 commits
-
-
Niels Lohmann authored
-
Niels Lohmann authored
-
Niels Lohmann authored
There was an issue in the documentation example before. Unfortunately, I did not recreate the example outputs.
-
Niels Lohmann authored
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.
-
Niels Lohmann authored
Also added some comments and improved the documentation.
-
Niels Lohmann authored
These breaks were just added to silence a GCC warning - the GCC is right about warning as it cannot know that the expect function will not return in these two scenarios.
-
Niels Lohmann authored
-
Niels Lohmann authored
-
Niels Lohmann authored
It seems these functions are not required any more. The code was added in commit 7e324578 to fix issue #171. There are still regression tests for #171, so when this commit passes the CI, the functions may be removed for good.
-
Niels Lohmann authored
-