nlohmann/json

JSON for Modern C++

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 17 minutes ago
Added to GitGenius on March 17th, 2026
Created on July 4th, 2013
Open Issues & Pull Requests: 160 (+0)
GitHub issues: Enabled
Number of forks: 7,494
Total Stargazers: 50,568 (-1)
Total Subscribers: 747 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 46.9 hours
Mean response time: 320.1 days
90th percentile: 1288.9 days
Tracked items: 353

How this project is maintained

Around half of the issues opened in the past year never receive a reply. Only 23% of open issues come from outside the core team — the tracker reads mainly as internal planning. Work labelled "solution: duplicate" is answered fastest, typically in about an hour, while "solution: proposed fix" waits about 10 days. Almost all tracked open issues have seen activity in the last three months. Only 4% of issues opened in the past year have been closed.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 52
New in 7 days: 4
Closed in 7 days: 6
Avg open age: 206 days
Stale 30+ days: 19
Stale 90+ days: 3

Recent activity

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

Top labels

  • kind: bug (223)
  • solution: proposed fix (164)
  • confirmed (38)
  • state: stale (38)
  • solution: invalid (34)
  • aspect: binary formats (33)
  • 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.