nlohmann/json

JSON for Modern C++

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 29 minutes ago
Added to GitGenius on March 17th, 2026
Created on July 4th, 2013
Open Issues & Pull Requests: 101 (+0)
Number of forks: 7,471
Total Stargazers: 50,454 (+0)
Total Subscribers: 751 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 17.9 hours
Mean response time: 351.1 days
90th percentile: 1435.8 days
Tracked items: 322

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 41% of open issues come from outside the core team, a mix of external reports and the maintainers' own roadmap. Work labelled "solution: invalid" is answered fastest, typically in about 4 hours, while "documentation" waits about 2 days. Only 3% of issues opened in the past year have been closed. Three people close 84% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 32
New in 7 days: 3
Closed in 7 days: 1
Avg open age: 373 days
Stale 30+ days: 15
Stale 90+ days: 4

Recent activity

Opened in 7 days: 3
Closed in 7 days: 1
Comments in 7 days: 3
Events in 7 days: 9

Top labels

  • kind: bug (208)
  • solution: proposed fix (137)
  • state: stale (39)
  • confirmed (38)
  • solution: invalid (34)
  • aspect: binary formats (29)
  • state: needs more info (27)
  • documentation (25)

Detailed Description

nlohmann/json is a header-only C++ library for parsing, serializing, and manipulating JSON data with an intuitive, Python-like syntax.

The library addresses the need for seamless JSON handling in C++ by providing an interface that makes JSON feel like a first-class data type through operator overloading and modern C++ features. It supports reading and writing JSON from files, creating JSON objects from literals, STL-like container access, and implicit type conversions. The tool also implements JSON Pointer, JSON Patch, and JSON Merge Patch standards for document manipulation, and can serialize to and deserialize from binary formats including BSON, CBOR, MessagePack, UBJSON, and BJData.

The library suits any C++ project requiring JSON handling without external dependencies or complex build integration. Its single-header design means you can drop it into a project with no configuration, compiler flag adjustments, or package manager setup required, though it is also available through popular package managers for those who prefer that approach. The implementation is written in vanilla C++11, making it compatible across a wide range of compiler versions and platforms.

The project maintains a balanced issue tracker with contributions from both core maintainers and external users, indicating healthy adoption without overwhelming support demands. Maintainers typically respond to new issues and pull requests within a day. Work in the issue tracker centers on bug reports, proposed fixes, and confirmed issues, reflecting a focus on stability and correctness.