Open-source C++ projects categorized as JSON

Top 23 C++ JSON Projects

  • json

    JSON for Modern C++

    Project mention: Learn Modern C++ | news.ycombinator.com | 2023-12-26

    I have not done a "desktop" program in 25+ years and never using C++ (or C), since then I'm mostly a web developer (PHP,Elixir, JS, Kotlin etc).

    I'm currently doing a C++ audio plugin with the Juce framework.

    This website has been a good resource, alongside https://www.learncpp.com

    But I was actually close to give up before using those two things:

    - https://github.com/nlohmann/json : my plugin use a json api backend and the Juce json implementation is atrocious (apparently because of being born in previous c++ version), but this library is GREAT.

    - ChatGPT 4. I'm not sure I would have "succeeded" without it, at least not in a reasonable time frame. ChatGPT 3.5 is slow and does not give good results for my use case but 4 is impressive. And I use in a very dumb way, just posing question in the web UI. I probably could have it directly in MSVC?

    Also I must say, for all its flaws, I have a renewed appreciation for doing UI on the web ;)

  • simdjson

    Parsing gigabytes of JSON per second : used by Facebook/Meta Velox, the Node.js runtime, ClickHouse, WatermelonDB, Apache Doris, Milvus, StarRocks

    Project mention: 1BRC Merykitty's Magic SWAR: 8 Lines of Code Explained in 3k Words | news.ycombinator.com | 2024-03-09
  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • RapidJSON

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

  • manticoresearch

    Easy to use open source fast database for search | Good alternative to Elasticsearch now | Drop-in replacement for E in the ELK soon

    Project mention: Building and testing Manticore Search | dev.to | 2024-03-05

    Note, you need to do it in the root folder of a clone from https://github.com/manticoresoftware/manticoresearch

  • 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.

  • JsonCpp

    A C++ library for interacting with JSON.

  • neutralinojs

    Portable and lightweight cross-platform desktop application development framework

    Project mention: Show HN: Pywebview 5 | news.ycombinator.com | 2024-03-13

    We tried using pywebview for a cross-platform desktop app when it was version 3.x and some of the features were limited, especially when it came to systray interactions. Will have to try it out again. In the end, for that specific project, we ended up settling on NeutralinoJS. Wails was another big contender but due to limited GoLang resources in-house, we decided not to use it. Reference: https://neutralino.js.org/

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • ArduinoJson

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

    Project mention: How can I obtain weather info? | /r/esp8266 | 2023-05-20
  • yaml-cpp

    A YAML parser and emitter in C++

  • R3nzSkin

    Skin changer for League of Legends (LOL)

    Project mention: name a better trio | /r/Draven | 2023-07-09
  • coost

    A tiny boost library in C++11.

    Project mention: Write C++ as easy as Golang with coost | news.ycombinator.com | 2023-09-09
  • 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: recommendations - settlers like games? | /r/Settlers | 2023-04-28
  • StringZilla

    Up to 10x faster strings for C, C++, Python, Rust, and Swift, leveraging SWAR and SIMD on Arm Neon and x86 AVX2 & AVX-512-capable chips to accelerate search, sort, edit distances, alignment scores, etc 🦖

    Project mention: Measuring energy usage: regular code vs. SIMD code | news.ycombinator.com | 2024-02-19

    The 3.5x energy-efficiency gap between serial and SIMD code becomes even larger when

    A. you do byte-level processing instead of float words;

    B. you use embedded, IoT, and other low-energy devices.

    A few years ago I've compared Nvidia Jetson Xavier (long before the Orin release), Intel-based MacBook Pro with Core i9, and AVX-512 capable CPUs on substring search benchmarks.

    On Xavier one can quite easily disable/enable cores and reconfigure power usage. At peak I got to 4.2 GB/J which was an 8.3x improvement in inefficiency over LibC in substring search operations. The comparison table is still available in the older README: https://github.com/ashvardanian/StringZilla/tree/v2.0.2?tab=...

  • Inja

    A Template Engine for Modern C++

  • tomlplusplus

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

  • TreeFrog Framework

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

  • lithium

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

  • PicoJSON

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

    Project mention: A good C library to parse json data | /r/C_Programming | 2023-05-07

    I've used picojson. What makes it pretty awesome is it's completely contained into a single H file.

  • libjson-rpc-cpp

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

  • DPP

    C++ Discord API Bot Library - D++ is Lightweight and scalable for small and huge bots!

    Project mention: How to add runtime dependencies to flake so they can be found (gtkmm4, shared-mime-info)? | /r/NixOS | 2023-05-11

    For me it just fails on dpp wrap file not containing a valid URL. And if I change it to https://github.com/brainboxdotcc/DPP, it fails on the repo not containing a meson.build file. And if I comment out the dependency it fails due to non-existent include/ directory. And if I comment that out, it succeeds just fine.

  • glaze

    Extremely fast, in memory, JSON and interface library for modern C++

    Project mention: [C++20] to_tuple with compile-time names | /r/cpp | 2023-12-05
  • Cutelyst

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

  • Vince's CSV Parser

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

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

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 2024-03-13.

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 39,903
2 simdjson 18,337
3 RapidJSON 13,842
4 manticoresearch 8,262
5 POCO 7,882
6 JsonCpp 7,834
7 neutralinojs 7,232
8 ArduinoJson 6,541
9 yaml-cpp 4,763
10 R3nzSkin 4,477
11 coost 3,821
12 widelands 1,931
13 StringZilla 1,749
14 Inja 1,526
15 tomlplusplus 1,392
16 TreeFrog Framework 1,255
17 lithium 1,218
18 PicoJSON 1,083
19 libjson-rpc-cpp 936
20 DPP 933
21 glaze 882
22 Cutelyst 881
23 Vince's CSV Parser 819
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives