The best JSON for Modern C++ alternatives
4 tools that do a similar job to JSON for Modern C++, 4 of them open source. Each entry says what it does and who it suits, so you can pick the one that fits instead of the most famous.
You're replacing
JSON for Modern C++A single-header C++ library for reading, writing and manipulating JSON data.
- 1

SwiftyJSON
Open source · MIT · ★ 22.9k
A Swift library that makes reading JSON data simpler and safer than Foundation's built-in parsing.
Best for: Swift developers building iOS, macOS, tvOS or watchOS apps that read JSON from web APIs; Teams maintaining existing projects that already use SwiftyJSON
- 2

GJSON
Open source · MIT · ★ 15.6k
A fast Go library for pulling values out of JSON using simple dot-style paths.
Best for: Go developers who need a few fields from a JSON response without writing struct definitions; Services that read large JSON payloads and want to avoid full unmarshalling for simple lookups
- 3

cpp-httplib
Open source · MIT · ★ 17k
A single-header C++11 library for building HTTP/HTTPS servers and clients.
Best for: C++ developers who need a simple embedded HTTP server or client without a large framework; Projects that want to avoid a complex build setup by using a single header file
- 4

EnTT
Open source · MIT · ★ 13.2k
A header-only C++ library for entity-component systems and other game-programming tools.
Best for: C++ game developers who want an ECS; Developers building simulations or engines who need a data-oriented entity store
How we pick: tools in the same category that solve the same problem, projects that name each other as alternatives, and open-source projects that describe themselves as an alternative to JSON for Modern C++. We don't take payment for placement.