Literals: operator""_json Helper classes: std::hash<basic_json>, std::swap<basic_json> Full API documentation Examples Here are some examples to give you an idea how to use the class. Besides the examples below,
→ Check the documentation→ Browse the standalone example files→ Read the full API Documentation with self-contained examples for every function Read JSON from a file The json class provides an API for manipulating a JSON value. To create a json object by reading a JSON file: #include <fst...
JSON for Modern C++. Contribute to xezon/nlohmann_json development by creating an account on GitHub.
CMake External Embedded Embedded (FetchContent) Supporting Both Package Managers Pkg-config License Contact Security Thanks Used third-party tools Notes Character encoding Comments in JSON Order of object keys Memory Release Further notes Execute unit tests Design goals Sponsors Support (documentation, FAQ...
Release preparation: Adjusted "since" comments to next version 3.12.0. Fixed typos and grammar errors in the documentation. Added contributors to the README file.
Added more links between the general documentation and the API documentation. (There are possibly lots of typos in there...) nlohmann added 3 commits April 16, 2022 22:33 📝 overwork macro documentation Verified 169e1da Merge branch 'develop' of https://github.com/nlohmann/json into ...
pkg-config nlohmann_json --cflags Users of the Meson build system will also be able to use a system wide library, which will be found bypkg-config: json = dependency('nlohmann_json', required: true) Examples Beside the examples below, you may want to check thedocumentationwhere each functi...
# CMakeLists.txt find_package(nlohmann_json 3.2.0 REQUIRED) ... add_library(foo ...) ... target_link_libraries(foo PRIVATE nlohmann_json::nlohmann_json) The package configuration file, nlohmann_jsonConfig.cmake, can be used either from an install tree or directly out of the build tree...
nlohmann / json Public Sponsor Notifications Fork 6.8k Star 43.6k Code scanning - action Overwork documentation #3221 Sign in to view logs Summary Summary Jobs CodeQL-Build Run details Usage Workflow file Triggered via pull request December 9, 2024 19:41 ...
Matrix: ci_test_documentation 2 jobs completed Show all jobs Matrix: ci_test_standards_clang 10 jobs completed Show all jobs Matrix: ci_test_standards_gcc 5 jobs completed Show all jobs Oh hello! Nice to see you. Made with ️ by humans.txt Annotations...