JSON for Modern C++
nlohmann/jsonReviewed by AI
What it does
This is a building block for programmers, not an app you open. It is one header file you drop into a C++ project so the program can read, create and change JSON data, plus binary formats such as CBOR, BSON and MessagePack. To use it you need a C++11 compiler; the project is tested on Windows, macOS and Linux. There is nothing to install for a person who does not program.
How easy it is to install
E · developers only · Windows
- Windows E
- macOS E
- Linux E
On every platform this is developer-only: the releases carry no program to run, and the only way to use it is to add the header to your own C++ code and compile it, optionally through CMake, Meson, Bazel or a package manager.
Coming soon: install in 1 click with the RepoPicks app.
Numbers on GitHub
- Stars
- 50,829on Oct 31, 2026
- Downloads
- 39,282,239450,941 this week
- Growth
- +21stars in 5 days
Stars over time
Facts
- Runs on
- Windows, macOS, Linux
- You need to install
- Other tools
- Disk space
- not determined
- Accounts or keys
- None
- Cost
- Free · MIT license; the author accepts sponsorships on GitHub.
- License
- MIT (Permissive)
- Last update
- Oct 31, 2026
Risk signals
No risk signals found by the checks.
What Radar could not check
- Whether it compiles with your particular compiler and project settings
- Whether the single-header file in the repository matches the one attached to each release
- How much it slows your build or grows your program's size