Skip to content
OneMeterComPublic
forked from nlohmann/json

About

JSON for Modern C++

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

JSON for Modern C++ (lightweight)

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.

Requirements

  • cmake (3.16.3)
  • ninja-build (1.10.0)

Usage

See: CMakeLists.txt and main.cpp in demos/demo_simple.

Run demo

make
_build/demo_simple

Example

$ _build/demo_simple
{
    "age": 32,
    "gender": "male",
    "name": "Rob",
    "posture": {
        "height": 56,
        "width": 160
    }
}

About

JSON for Modern C++

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages