A list of paid, free or open source C++ (C plus plus) JSON libraries, plugins and tools for parsing, mapping, decoding, encoding, serializing and generating JSON and more. Sourced under a creative commons. This list will be updated regularly. Email over the URL, if you wish to be included.

C++ JSON libraries, plugins and tools

  • Boost.PropertyTree – A property tree parser/generator that can be used to parse XML/JSON/INI/Info files. [Boost] website
  • cJSON – Ultralightweight JSON parser in ANSI C. [MIT]
  • DAW JSON Link – Fast, convenient JSON serialization and parsing in C++. [BSL-1.0]
  • frozen – JSON parser and generator for C/C++. [GPL & GPL2]
  • Glaze – Extremely fast, in memory, JSON and interface library for modern C++. [MIT]
  • Jansson – C library for encoding, decoding and manipulating JSON data. [MIT]
  • jbson – jbson is a library for building & iterating BSON data, and JSON documents in C++14. [Boost]
  • JeayeSON – A very sane (header only) C++ JSON library. [BSD]
  • Jsmn – A minimalistic JSON parser in C. [MIT]
  • json ⚡ – JSON for Modern C++. [MIT] website
  • JSON++ – A JSON parser in C++. [MIT]
  • json.h – A simple one header/one source solution to parsing JSON in C and C++. [Unlicense]
  • json-build – C89 tiny zero-allocation JSON serializer. [MIT]
  • json-c – A JSON implementation in C. [MIT]
  • jsoncons – A C++ header-only library for JSON and JSON-like binary formats with JSONPointer, JSONPatch, JSONPath and JMESPath. [Boost]
  • JsonCpp – A C++ library for interacting with JSON. [MIT]
  • Jsonifier – A few classes for parsing and serializing objects from/into JSON – very rapidly. [MIT]
  • jsonParse – A simple JSON parser in ANSI C. [MIT]
  • json-parser – Very low footprint JSON parser written in portable ANSI C. [BSD]
  • json11 – A tiny JSON library for C++11. [MIT]
  • json-struct – High performance, single header JSON parser parsing to and from C++ structs. [MIT]
  • json-voorhees – JSON library for C++. Support for C++11. No dependencies, fast and dev-friendly. [Apache2]
  • jute – Very simple C++ JSON Parser. [PublicDomain]
  • libjson – A JSON parser and printer library in C. easy to integrate with any model. [LGPL]
  • libjson – Lightweight JSON library. [?]
  • LIBUCL ⚡ – Universal configuration library parser. [BSD-2-Clause]
  • parson – Parson is a lighweight json library written in C. [MIT]
  • PicoJSON – A header-file-only, JSON parser serializer in C++. [BSD]
  • qt-json – A simple class for parsing JSON data into a QVariant hierarchy and vice versa. [GPLv3]
  • QJson – A qt-based library that maps JSON data to QVariant objects. [LGPL2]
  • RapidJSON ⚡ – A fast JSON parser/generator for C++ with both SAX/DOM style API. [MIT] website
  • sajson – Lightweight, extremely high-performance JSON parser for C++11. [MIT]
  • simdjson – Extremely fast JSON library that can parse gigabytes of JSON per second. [Apache-2.0]
  • taoJSON – Zero-dependency C++ header-only JSON library. [MIT]
  • ujson – µjson is a a small, C++11, UTF-8, JSON library. [MIT]
  • UltraJSON – Ultra fast JSON decoder and encoder written in C. [BSD-3-Clause]
  • YAJL – A fast streaming JSON parsing library in C. [ISC]
  • yyjson – A high performance JSON library written in ANSI C. [MIT]

Tags: c++, open source, c plus plus, c++ tools, c++ plugins, c++ libraries, c plus plus tools, c plus plus plugins, c plus plus libraries, json parser, json mapper, json decoder, json encoder, json serializer, json generator, C++ json parser, c++ json mapper, c++ json decoder, c++ json encoder, c++ json serializer, c++ json generator

Image: Unsplash License.

Portions of this text under: MIT license