SHORTLIST20
English
Englishالعربية中文日本語한국어EspañolFrançaisहिन्दी
Programming

C++ JSON libraries

JSON parsers and serializers for C and C++, ranked by GitHub stars

Updated · GitHub stars (stars)

Why these 20

Ranked by GitHub stars: how many developers bookmarked the project. Stars measure attention, not quality, so each row also shows forks, licence and the last push. Tools without a public repository have no star count and can't be ranked here.

Is this list useful?
  1. 1

    json

    zap: - JSON for Modern C++. [MIT] website

    50,937 stars 7,546 forkslast push 2026-11-20C++MIT

  2. 2

    cJSON

    Ultralightweight JSON parser in ANSI C. [MIT]

    13,102 stars 3,572 forkslast push 2026-09-16CMIT

  3. 3

    JsonCpp

    A C++ library for interacting with JSON. [MIT]

    8,918 stars 2,737 forkslast push 2026-10-26C++NOASSERTION

  4. 4

    UltraJSON

    Ultra fast JSON decoder and encoder written in C. [BSD-3-Clause]

    4,502 stars 383 forkslast push 2026-11-07C++NOASSERTION

  5. 5

    Jsmn

    A minimalistic JSON parser in C. [MIT]

    4,216 stars 823 forkslast push 2024-06-09CMIT

  6. 6

    yyjson

    A high performance JSON library written in ANSI C. [MIT]

    3,954 stars 363 forkslast push 2026-11-19CMIT

  7. 7

    Jansson

    C library for encoding, decoding and manipulating JSON data. [MIT]

    3,379 stars 864 forkslast push 2026-07-09CNOASSERTION

  8. 8

    json-c

    A JSON implementation in C. [MIT]

    3,302 stars 1,136 forkslast push 2026-11-17CNOASSERTION

  9. 9

    Glaze

    Extremely fast, in memory, JSON and interface library for modern C++. [MIT]

    3,114 stars 297 forkslast push 2026-11-19C++MIT

  10. 10

    YAJL

    A fast streaming JSON parsing library in C. [ISC]

    2,228 stars 446 forkslast push 2026-08-24CISC

  11. 11

    LIBUCL

    zap: - Universal configuration library parser. [BSD-2-Clause]

    1,745 stars 168 forkslast push 2026-11-09CBSD-2-Clause

  12. 12

    parson

    Parson is a lighweight json library written in C. [MIT]

    1,482 stars 348 forkslast push 2026-09-15CMIT

  13. 13

    PicoJSON

    A header-file-only, JSON parser serializer in C++. [BSD]

    1,163 stars 224 forkslast push 2024-07-13C++BSD-2-Clause

  14. 14

    Sonic-Cpp

    A fast JSON serializing & deserializing library, accelerated by SIMD. [Apache-2.0]

    980 stars 130 forkslast push 2026-11-13C++Apache-2.0

  15. 15

    jsoncons

    A C++ header-only library for JSON and JSON-like binary formats with JSONPointer, JSONPatch, JSONPath and JMESPath. [Boost]

    860 stars 221 forkslast push 2026-11-21C++NOASSERTION

  16. 16

    json.h

    A simple one header/one source solution to parsing JSON in C and C++. [Unlicense]

    845 stars 102 forkslast push 2026-11-09CUnlicense

  17. 17

    json.cpp

    a baroque JSON parsing / serialization library for C++. [Apache-2.0]

    796 stars 38 forkslast push 2026-04-08C++NOASSERTION

  18. 18

    frozen

    JSON parser and generator for C/C++. [GPL & GPL2]

    777 stars 168 forkslast push 2026-01-05CNOASSERTION

  19. 19

    taoJSON

    Zero-dependency C++ header-only JSON library. [MIT]

    684 stars 86 forkslast push 2026-10-15C++MIT

  20. 20

    sajson

    Lightweight, extremely high-performance JSON parser for C++11. [MIT]

    574 stars 45 forkslast push 2025-04-06C++MIT

How it is measured

Every tool in the JSON section(s) of the community list fffaraz/awesome-cpp on GitHub with a public repository, ranked by GitHub stars from the GitHub API; archived repositories are left out. Added by the daily list generator.

References

  1. fffaraz/awesome-cpp: JSON, GitHub community list (list text MIT; star counts from the GitHub API). Checked 2026-11-21 08:06 UTC.
  2. fffaraz/awesome-cpp (JSON), GitHub community list, 38 tools with a public repository.