This is a lightweight version of the nlohmann/json-cpp. It tracks single_include folder only.
The original repository is very heavy (hundreds of MB). There is no need to track everything just to compile a single file if you use the library as a submodule. That's the main reason why we rewrote the original repo.
cmake(3.16.3)ninja-build(1.10.0)
See: CMakeLists.txt and main.cpp in demos/demo_simple.
make
_build/demo_simpleExample
$ _build/demo_simple
{
"age": 32,
"gender": "male",
"name": "Rob",
"posture": {
"height": 56,
"width": 160
}
}