Skip to content
⌘K

JSON for Modern C++

JSON for Modern C++.

health 71contrib 7751k

Overview & architecture

C++ standard
C++11
Build systems
cmake
License
MIT
Languages
C++
Last release
v3.12.0 · Apr 11, 2025
Also known as
nlohmann json, nlohmann/json

Repository activity

snapshot Nov 23, 2026
GitHub stars
latest
51k▲ 238
Merged PRs (30d)
latest
182▲ 182
Contributors (90d)
latest
15▲ 12
Issue first response p50
–
No snapshots yet.
17 open issues13 open PRs181 commits (30d)

Recent notable activity

Stories

Major changeFor you4 items

JSON for Modern C++: 4 notable changes in the week of Nov 2

CBOR/MessagePack readers: leave one-element arrays to the general path; Binary writers: zero only a window ahead of the vector sink's position; Binary readers: append strings straight from contiguous input; Scan the buffer of a FILE in bulk with glibc and the Apple C library

Why it matters: JSON for Modern C++ is in Core Libraries (one of your focus areas).

Major changeFor you16 items

JSON for Modern C++: 16 notable changes in the week of Oct 26

json_view: fewer allocations when parsing small documents; json_view: comparison without temporaries and a faster image float check; json_view benchmarks: compare fairly and state what each row means; json_view: decode chains of unicode escapes in a loop; Write integers of 17 to 20 digits eight…

Why it matters: JSON for Modern C++ is in Core Libraries (one of your focus areas).

Major changeFor you

JSON for Modern C++: Proposal: minimal API for an opt-in C++26 static-reflection extension

Description Following your reply in #5384 (thank you for the detailed conditions), this issue proposes the minimal API surface before I write more code. The prototype linked at the end already follows the parts of your reply that constrain…

Why it matters: An open RFC/proposal that is still up for discussion. JSON for Modern C++ is in Core Libraries (one of your focus areas).

Major changeFor you19 items

JSON for Modern C++: 19 notable changes in the week of Oct 19

Make parsing from std::istream and FILE* fast; Speed up writing CBOR and MessagePack, above all integer arrays; Accumulate number digits while scanning them; Copy the text of float tokens only when a SAX handler asks for it; Scan strings with SSE2, SSSE3, or NEON; Match literals without a stack…

Why it matters: JSON for Modern C++ is in Core Libraries (one of your focus areas).

Major changeFor you12 items

JSON for Modern C++: 12 notable changes in the week of Oct 12

Look up the key only once in the callback parser's key(); Make flatten() linear for ordered_json; Speed up JSON pointer parsing, formatting, comparison and lookup; Speed up array-to-container from_json; Move elements when converting rvalue containers to JSON; Fix quadratic parent updates for…

Why it matters: JSON for Modern C++ is in Core Libraries (one of your focus areas).

Maintainers & organizations

every claim links to its source

Maintainers

Top contributors

Releases & changelog

  • JSON for Modern C++ v3.12.0: JSON for Modern C++ version 3.12.0major

    Release date: 2025-04-11 SHA-256: aaf127c04cb31c406e5b04a63f1ae89369fccde6d8fa7cdda1ed4f32dfc5de63 (json.hpp), b8cb0ef2dd7f57f18933997c9934bb1fa962594f701cd5a8d3c2c80541559372 (include.zip), 42f6e95cad6ec532fd372391373363b62a14af6d771056dbfc86160e6dfff7aa (json.tar.xz) Summary This release fixes some bugs found in the…

  • JSON for Modern C++ v3.11.3: JSON for Modern C++ version 3.11.3

    Release date: 2023-11-28 SHA-256: 9bea4c8066ef4a1c206b2be5a36302f8926f7fdc6087af5d20b417d0cf103ea6 (json.hpp), a22461d13119ac5c78f205d3df1db13403e58ce1bb1794edc9313677313f4a9d (include.zip), d6c65aca6b1ed68e7a182f4757257b107ae403032760ed6ef121c9d55e81757d (json.tar.xz) Summary This release fixes some bugs found in the…

  • JSON for Modern C++ v3.11.2: JSON for Modern C++ version 3.11.2

    Release date: 2022-08-12 SHA-256: 665fa14b8af3837966949e8eb0052d583e2ac105d3438baba9951785512cf921 (json.hpp), e5c7a9f49a16814be27e4ed0ee900ecd0092bfb7dbfca65b5a421b774dccaaed (include.zip), 8c4b26bf4b422252e13f332bc5e388ec0ab5c3443d24399acb675e68278d341f (json.tar.xz) Summary This release fixes some bugs found in the…

  • JSON for Modern C++ v3.11.1: JSON for Modern C++ version 3.11.1

    Release date: 2022-08-01 SHA-256: 9279dc616aac67efce68967f118051b50236612b90572e059783d368bd78687e (json.hpp), 9c15ca7806f863872452bfbc85fee6d1c9868117e3ea5e00a204ae961a2e1ae7 (include.zip), e6dd39f8f2da9cab11de2212acdd40b1cc1aafbe09da8c92933b911d19da3302 (json.tar.xz) Known issues #3652 Regression: call to member…

  • JSON for Modern C++ v3.11.0: JSON for Modern C++ version 3.11.0major

    * * :bug: Unfortunately, this release introduced a bug that breaks existing usages of the user-defined string literals (UDL). This is fixed in version 3.11.1. * * Release date: 2022-08-01 SHA-256: eb73896e9ce706ae6a62ce697dc8aca214840f70d8281779a6ea0cabe3afab3f (json.hpp),…

  • JSON for Modern C++ v3.10.5: JSON for Modern C++ version 3.10.5

    Release date: 2022-01-03 SHA-256: e832d339d9e0c042e7dff807754769d778cf5d6ae9730ce21eed56de99cb5e86 (json.hpp), b94997df68856753b72f0d7a3703b7d484d4745c567f3584ef97c96c25a5798e (include.zip) Summary The previous version 3.10.4 introduced support to convert std::filesystem objects to JSON and vice versa. Unfortunately,…

  • JSON for Modern C++ v3.10.4: JSON for Modern C++ version 3.10.4

    Release date: 2021-10-16 SHA-256: c9ac7589260f36ea7016d4d51a6c95809803298c7caec9f55830a0214c5f9140 (json.hpp), 62c585468054e2d8e7c2759c0d990fd339d13be988577699366fe195162d16cb (include.zip) Summary This release fixes two bugs introduced in release 3.10.0 and fixes the conversion of std::filesystem::path. All changes…

  • JSON for Modern C++ v3.10.3: JSON for Modern C++ version 3.10.3

    Release date: 2021-10-08 SHA-256: bac28658a4c9410faa55960a70c1ac541e8a51bbaae57dc395e23ca5abd3159a (json.hpp), 4ae5744bc1edd216c79f619fd49915c0e490e41b05434c2d2b89e078299f04ed (include.zip) Summary This release fixes two more bug introduced in release 3.10.0: the extended diagnostics triggered assertions when used…

  • JSON for Modern C++ v3.10.2: JSON for Modern C++ version 3.10.2

    Release date: 2021-08-26 SHA-256: 059743e48b37e41579ee3a92e82e984bfa0d2a9a2b20b175d04db8089f46f047 (json.hpp), 61e605be15e88deeac4582aaf01c09d616f8302edde7adcaba9261ddc3b4ceca (include.zip) Summary This release is made days after the 3.10.1 release due to a bug in the release script: The 3.10.1 release at GitHub…

  • JSON for Modern C++ v3.10.1: JSON for Modern C++ version 3.10.1

    Release date: 2021-08-24 SHA-256: 0b628af78a2f0f3e2ff41d8dfa18314dd53831ffc2720c2944192d9f53727f4d (json.hpp), 144268f7f85afb0f0fbea7c796723c849724c975f9108ffdadde9ecedaa5f0b1 (include.zip) Summary This release fixes a bug introduced in release 3.10.0: the extended diagnostics triggered an assertion when used with…

Contribution opportunities

0 published

No published opportunities

Cards are published only for real, open, unassigned issues with maintainer engagement. Contribution scanning is off for this project.

Why this score

Health 71Contribution friendliness 77computed 20h ago
  • Activity1.00
    182 merged PRs in 30 days (full marks at 20); 180 commits in 30 days (full marks at 60) [health score: no data for backlog pressure; weights renormalized]health
  • Onboarding0.50
    has mainstream build (CMake/Bazel/Meson), CI; missing contributing guide, docs site [contrib score: no data for entry points; weights renormalized]contrib
  • Maintainer responsiveness1.00
    median PR merge time 21 h (full marks within 72 h, zero after 60 days) [health score: no data for backlog pressure; weights renormalized] [contrib score: no data for entry points; weights renormalized]healthcontrib
  • Release cadence0.06
    last release 590 days ago (full marks within 90, zero after 730); 0 releases in 365 days (full marks at 4) [health score: no data for backlog pressure; weights renormalized]health
  • Contributor breadth0.61
    15 unique contributors in 90 days (full marks at 25); top contributor has 90% of commits; stars count for at most 5% of this signal [health score: no data for backlog pressure; weights renormalized]health

Each signal is normalized to 0–1 with fixed thresholds; scores are weighted sums × 100. Stars are not an input.

Maintain, review, build and signals

other opportunities that concern this project
  • RFC / designJSON for Modern C++20d ago

    Description Following your reply in #5384 (thank you for the detailed conditions), this issue proposes the minimal API surface before I write more code. The prototype linked at the end already follows the parts of your reply that constrain the design: separate header, per-type annotation, public basic_json interface only, no core-header changes, flat structs only. Prior art This is not the first…

    issueupdated 19d ago4 comments