Skip to main content

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

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 https://github.com/nlohmann/json. Complilation instructions are at the bottom of json_test. This code is very helpful for creating config files, for example.

0
People found this useful

Category

learning

Skill Level

Advanced