Skip to content

Experimental third party proxy of nlohmann/json.

License

Notifications You must be signed in to change notification settings

sthagen/cpp-nlohmannjson-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cpp-nlohmannjson-proxy

Experimental third party proxy of nlohmann/json.

Usage

Generate build files:

cmake -S . -B build
# ...

Build (in parallel):

cmake --build build --parallel 2
[ 50%] Building CXX object examples/CMakeFiles/basic.dir/basic.cpp.o
[ 50%] Building CXX object CMakeFiles/nlohmannjson_test.dir/main.cpp.o
[ 75%] Linking CXX executable basic
[ 75%] Built target basic
[100%] Linking CXX executable nlohmannjson_test
[100%] Built target nlohmannjson_test

Execute tests:

build/nlohmannjson_test
[doctest] doctest version is "2.4.4"
[doctest] run with "--help" for options
===============================================================================
[doctest] test cases: 1 | 1 passed | 0 failed | 0 skipped
[doctest] assertions: 2 | 2 passed | 0 failed |
[doctest] Status: SUCCESS!

Execute basic example:

build/examples/basic
compact:  {"happy":true,"pi":3.14156}
indented:
{
    "happy": true,
    "pi": 3.14156
}

Status

Experimental.

Note: The default branch is default.

About

Experimental third party proxy of nlohmann/json.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published