Open-source C++ projects categorized as JSON | Edit details

Top 23 C++ JSON Projects

  • json

    JSON for Modern C++

    Project mention: A C perspective - Why should I want Rust to succeed? | reddit.com/r/rust | 2022-01-18

    Many common C++ utils are rather small header only things that are easily integrated and don't pull in a full tree (or forest ;)) of dependencies. Like the awesome https://github.com/nlohmann/json

  • simdjson

    Parsing gigabytes of JSON per second

    Project mention: Issues with big JSON file | reddit.com/r/cpp_questions | 2022-01-04

    try https://github.com/simdjson/simdjson

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • RapidJSON

    A fast JSON parser/generator for C++ with both SAX/DOM style API

    Project mention: What JSON library do you suggest? | reddit.com/r/cpp | 2021-07-31

    So I just cloned https://github.com/Tencent/rapidjson to see what is the current status. At compile time they check if the C++ compiler supports the "noexcept" keyword, and if so they define RAPIDJSON_NOEXCEPT to be "noexcept". Throughout the implementation, RAPIDJSON_NOEXCEPT is added to quite a few function declarations (about a hundred of them).

  • JsonCpp

    A C++ library for interacting with JSON.

    Project mention: adding library to cmake (for pytorch) | reddit.com/r/cpp_questions | 2021-08-02

    include(FetchContent) FetchContent_Declare( JsonCpp GIT_REPOSITORY https://github.com/open-source-parsers/jsoncpp.git

  • POCO

    The POCO C++ Libraries are powerful cross-platform C++ libraries for building network- and internet-based applications that run on desktop, server, mobile, IoT, and embedded systems.

    Project mention: The Curse of NixOS | news.ycombinator.com | 2022-01-24

    Many of the necessary fixes do end up getting pushed upstream, though, thinking especially of stuff like converting CMake projects to use the GNUInstallDirs standard, so there is a benefit to the strictness work that extends beyond even just the Nix community itself.

    Of course, sometimes those kinds of changes just never get merged, for a variety of well-understood open-sourcey reasons, eg: https://github.com/pocoproject/poco/pull/3105

  • ArduinoJson

    📟 JSON library for Arduino and embedded C++. Simple and efficient.

    Project mention: (esp32+adxl325+sdcard)Storing sensor data in sd card(in txt file) and then sending it to cloud. | reddit.com/r/IOT | 2021-10-16

    I'd suggest sending data directly to AWS IoT Core (Free tier eligible) with the MQTT protocol. You can send data in JSON format. You could then use a serverless function to send that data to a DynamoDB (noSQL) database as the API is easy to use.

  • neutralinojs

    Portable and lightweight cross-platform desktop application development framework

    Project mention: Neutralinojs v4.2.0 released! | reddit.com/r/coding | 2022-01-24
  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • yaml-cpp

    A YAML parser and emitter in C++

    Project mention: Templated lambdas with unknown type during invocation | reddit.com/r/cpp_questions | 2022-01-09

    As you can see, I'm trying to coerce some YAML::Node to get some unknown type:

  • cocoyaxi

    The best C++ library on the Namake planet.

    Project mention: Resolved an issue in gflags which has been opened for about 7 years | reddit.com/r/cpp | 2022-01-24

    I happened to achieve a nice implement in cocoyaxi (co for short) today. It is easy to define a flag with an alias in co:

  • Osiris

    Free open-source game cheat for Counter-Strike: Global Offensive, written in modern C++. GUI powered by Dear ImGui.

    Project mention: Reliable & good legit hack for alt account? | reddit.com/r/Csgohacks | 2021-12-07

    https://github.com/danielkrupinski/Osiris you have to build it urself if ur too lazy and you trust me https://drive.google.com/drive/folders/15w4_lNGMWa9-DoTyYV8gVQ222ZWdNkEi?usp=sharing

  • widelands

    Widelands is a free, open source real-time strategy game with singleplayer campaigns and a multiplayer mode. The game was inspired by Settlers II™ (© Bluebyte) but has significantly more variety and depth to it.

    Project mention: Which Settlers game would you guys recommend? | reddit.com/r/BaseBuildingGames | 2022-01-21

    I'd recommend trying out Widelands ( https://www.widelands.org/ ), a free opensource game inspired by Settlers II!

  • TreeFrog Framework

    TreeFrog Framework : High-speed C++ MVC Framework for Web Application

    Project mention: Fête à bord d’un avion de Sunwing | L’organisateur s’explique sur l’origine de sa fortune | reddit.com/r/Quebec | 2022-01-07
  • PicoJSON

    a header-file-only, JSON parser serializer in C++

    Project mention: Is the madness ever going to end? | news.ycombinator.com | 2022-01-11

    Especially if the library is even slower than smaller alternatives like [1].

    But that's just my personal opinion, I understand that other people have different priorities and are fine with including 785kb of C++ template headers s long as public interface suits their needs and taste.

    This is just an example for the kind of freedom software allows for, because it doesn't cost you anything and there is no objectively "better" in this case.

    [1] https://github.com/kazuho/picojson

  • Inja

    A Template Engine for Modern C++

    Project mention: Looking for a codegen library that uses C++ for scripting | reddit.com/r/cpp | 2021-03-10

    I've looked into a newer template engine like Inja, but my client isn't quite happy with that either. Inja allows you to write templates that you feed JSON data into:

  • lithium

    Easy to use C++17 HTTP Server with no compromise on performances. https://matt-42.github.io/lithium

    Project mention: C or C++ as web app backend? | reddit.com/r/cpp | 2021-10-27


  • libjson-rpc-cpp

    C++ framework for json-rpc (json remote procedure call)

    Project mention: Creating Solidity frontend in c | reddit.com/r/solidity | 2021-12-17

    You can try using this library to interact with the network https://github.com/cinemast/libjson-rpc-cpp/

  • Cutelyst

    A C++ Web Framework built on top of Qt, using the simple approach of Catalyst (Perl) framework.

    Project mention: Status of BeerXML/BeerJSON? | reddit.com/r/Homebrewing | 2022-01-11

    could do both! https://cutelyst.org looks neat, and BrewTarget is written with Qt.

  • tomlplusplus

    Header-only TOML config file parser and serializer for C++17.

    Project mention: toml++ v3.0.0 released | reddit.com/r/cpp | 2022-01-11
  • Vince's CSV Parser

    A modern C++ library for reading, writing, and analyzing CSV (and similar) files. (by vincentlaucsb)

    Project mention: Turning CSV rows into a vector of maps, with column names as keys | reddit.com/r/cpp_questions | 2021-12-28
  • json.h

    🗄️ single header json parser for C and C++

  • JSON++

    A JSON parser in C++

  • jsoncons

    A C++, header-only library for constructing JSON and JSON-like data formats, with JSON Pointer, JSON Patch, JSON Schema, JSONPath, JMESPath, CSV, MessagePack, CBOR, BSON, UBJSON

  • restc-cpp

    Modern C++ REST Client library

    Project mention: New to C++. Want to creat a program with a JSON REST API | reddit.com/r/Cplusplus | 2021-11-27

    Ah ok. I would use a rest api client library for that. Have not used c++ for this. But found that when googling https://github.com/jgaa/restc-cpp

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2022-01-24.

C++ JSON related posts


What are some of the best open-source JSON projects in C++? This list will help you:

Project Stars
1 json 28,447
2 simdjson 15,236
3 RapidJSON 11,663
4 JsonCpp 6,087
5 POCO 5,825
6 ArduinoJson 5,514
7 neutralinojs 4,890
8 yaml-cpp 3,077
9 cocoyaxi 2,365
10 Osiris 1,885
11 widelands 1,318
12 TreeFrog Framework 1,000
13 PicoJSON 973
14 Inja 870
15 lithium 869
16 libjson-rpc-cpp 744
17 Cutelyst 724
18 tomlplusplus 657
19 Vince's CSV Parser 516
20 json.h 476
21 JSON++ 474
22 jsoncons 460
23 restc-cpp 443
Find remote jobs at our new job board 99remotejobs.com. There are 30 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
OPS - Build and Run Open Source Unikernels
Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.