json
json copied to clipboard
JSON for Modern C++
### Description The documentation has contradictory information: [Here](https://json.nlohmann.me/api/json_sax/parse_error/#return-value), it says that parse_error() *must* return `false` but [here](https://json.nlohmann.me/features/parsing/parse_exceptions/#user-defined-sax-interface), it says that "the return value indicates whether the parsing should continue, so...
### Description The json.hpp header fails to build in a cross build environment. This is an ubuntu 22.04 docker container with darwin14 and MacOSX10.10 SDK. Clang is 1001@d82e6b7e292b:~$ /usr/x86_64-apple-darwin14/bin/../bin/o64-clang++-libc++ -v...
### Description `operator string_view()` isn't used, whereas `operator string()` _is_. ### Reproduction steps https://godbolt.org/z/MYEYG3Gao ### Expected vs. actual results compiles ### Minimal code example ```c++ #include #include #include "nlohmann/json.hpp" using...
### Description Trying to convert a nlohmann::json object which contains an unsigned int of 64 bit length breaks BSON conversion. I do consider this to be a bug, as BSON...
### Description Issue identified that meson build does not install nlohmann_json*.cmake files into /usr/share/cmake/nlohmann_json, so packages expecting these .cmake files are unable to build. Ref: https://github.com/LibreELEC/LibreELEC.tv/pull/7250 we have reverted back...
modernize-use-designated-initializers does not work with C++11
### Description Should be "from_json(...)" instead "to_json(...)" ### Reproduction steps Read the doc with understanding ### Expected vs. actual results Proper example ### Minimal code example _No response_ ### Error...
### Discussed in https://github.com/nlohmann/json/discussions/4336 Originally posted by **gino0717** April 8, 2024 hi sir, I'm studying the document of [Parser Callbacks](https://json.nlohmann.me/features/parsing/parser_callbacks/) I replace some of the values to null of the...
### Description Hi! :wave: I package this project for Arch Linux. The current signed source artifacts attached to releases are unfortunately not enough to allow me to run tests. I...
[Describe your pull request here. Please read the text below the line, and make sure you follow the checklist.] Just like the code in the test, this code will report...