Skip to main content

Examples of code using JSON nlohmann header only Library for C++


This code showcases how to work with the header-only nlohmann JSON library for C++. In order to compile, change the extensions from json_test.txt to json_test.cpp and test.txt to test.json. You must also download the header files from Complilation instructions are at the bottom of json_test. This code is very helpful for creating config files, for example.
This site is under development and subject to change! If you find a bug, please report it here