Open-source C projects categorized as JSON

Top 23 C JSON Projects

  • cJSON

    Ultralightweight JSON parser in ANSI C

    Project mention: jemi: a compact JSON serializer for embedded systems | reddit.com/r/embedded | 2022-10-05

    This is quite similar to cJSON, although cJSON leans more towards dynamic memory allocation.

  • tbox

    🎁 A glib-like multi-platform c library

    Project mention: tbox 1.7.1 released, add fs watcher support | reddit.com/r/C_Programming | 2022-09-22
  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

  • gravity

    Gravity Programming Language

  • ultrajson

    Ultra fast JSON decoder and encoder written in C with Python bindings

    Project mention: Processing JSON 2.5x faster than simdjson with msgspec | reddit.com/r/Python | 2022-10-03


  • JSMN

    Jsmn is a world fastest JSON parser/tokenizer. This is the official repo replacing the old one at Bitbucket

    Project mention: jemi: a compact JSON serializer for embedded systems | reddit.com/r/embedded | 2022-10-05

    As mentioned here, it appears that tiny-json is a parser, not a serializer. If you're looking for parsers, I've been very happy with jsmn.

  • Oj

    Optimized JSON

    Project mention: Suggestions for how to reduce memory usage | reddit.com/r/rails | 2023-01-24

    Install OJ if you render out JSON a lot

  • Jansson

    C library for encoding, decoding and manipulating JSON data

    Project mention: jemi: a compact JSON serializer for embedded systems | reddit.com/r/embedded | 2022-10-05

    Context: I needed to emit rather complex compound JSON data for a C-based project I'm working on. I could do it all with sprintf(), but it got messy quickly. I looked at available libraries such as jansson and CCAN's json, but they both used malloc(), which isn't an option in my case.

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • webdis

    A Redis HTTP interface with JSON output

    Project mention: Soul – A SQLite RESTful Server | news.ycombinator.com | 2022-10-29

    If we are talking of RESTful servers and mention Redis, then we should mention Webdis, which is a RESTful server for Redis -- and it has ACL. https://webd.is/

  • json-c

    https://github.com/json-c/json-c is the official code repository for json-c. See the wiki for release tarballs for download. API docs at http://json-c.github.io/json-c/

    Project mention: Json-c error | reddit.com/r/C_Programming | 2023-02-23
  • yyjson

    The fastest C JSON library

    Project mention: Show HN: Up to 100x Faster FastAPI with simdjson and io_uring on Linux 5.19 | news.ycombinator.com | 2023-03-06

    How does yyjson[0] compare to simdjson? Their benchmarks suggest it could be a positive.

    [0] https://github.com/ibireme/yyjson

  • YAJL

    A fast streaming JSON parsing library in C.

  • facil.io

    Your high performance web application C framework

    Project mention: Caffè Italia * 08/09/22 | reddit.com/r/italy | 2022-09-08



    Universal configuration library parser

    Project mention: Structured configuration in Go | dev.to | 2022-04-09

    Structured configuration is the type of configuration language I wanted for Djinn, whereby parameters could be grouped together into blocks, and nested within each other. Hence, the structure. The language I came up with was heavily influenced by HCL, and libucl and has support for duration and size literal values. Below is what the language looks like,

  • ejdb

    :snowboarder: EJDB2 — Embeddable JSON Database engine C library. Simple XPath like query language (JQL). Websockets / Android / iOS / React Native / Flutter / Java / Dart / Node.js bindings. Docker image.

    Project mention: Go Bindings for ejdb2 | reddit.com/r/golang | 2022-10-02

    I found https://ejdb.org/ but the go bindings where outdated.

  • json-parser

    Very low footprint DOM-style JSON parser written in portable ANSI C

  • parson

    Lightweight JSON library written in C.

  • wal2json

    JSON output plugin for changeset extraction

    Project mention: What is the recommended way to synchronize data between Postgres and Elasticsearch? | reddit.com/r/PostgreSQL | 2023-01-11

    You could also use tools in conjunction with logical replication to stream changes, like debezium or wal2json.

  • ulfius

    Web Framework to build REST APIs, Webservices or any HTTP endpoint in C language. Can stream large amount of data, integrate JSON data with Jansson, and create websocket services

  • pmacct

    pmacct is a small set of multi-purpose passive network monitoring tools [NetFlow IPFIX sFlow libpcap BGP BMP RPKI IGP Streaming Telemetry].

    Project mention: How to locate device illegally downloading on network | reddit.com/r/networking | 2022-05-06
  • jsquery

    JsQuery – json query language with GIN indexing support

  • OwnTracks Recorder

    Store and access data published by OwnTracks apps

    Project mention: Google maps tracking alternative | reddit.com/r/selfhosted | 2023-01-22

    Some people have issues installing Own Track's Recorder - This one is very minimal and saves your locations to an sqlite file.

  • frozen

    JSON parser and generator for C/C++ with scanf/printf like interface. Targeting embedded systems. (by cesanta)

    Project mention: What's the current feeling / status of Mongoose OS? Are there any better / newer alternatives for small hobby projects? (I'm using the C APIs, not the JS wrapper stuff)? | reddit.com/r/esp32 | 2022-06-23

    I've been on and off working on ESP32 and ESP8266 projects for a long time now, but am overall a near complete novice to electronics, circuit board design, etc. Anyway, the last project I worked on (these are personal / hobby projects for fun) I spent time looking into tools to build a more robust EPS32 based project with, and I ended up deciding that Mongoose OS was a great mix of out of the box features that fit with my experience as a software developer (mainly backend web stuff), with things like their json parsing library, etc, and the onboarding with AWS IoT things platform, etc.

  • c-ray

    c-ray is a small, simple path tracer written in C

  • 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 2023-03-06.

C JSON related posts


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

Project Stars
1 cJSON 8,574
2 tbox 4,311
3 gravity 4,146
4 ultrajson 4,005
5 JSMN 3,216
6 Oj 2,979
7 Jansson 2,758
8 webdis 2,656
9 json-c 2,645
10 yyjson 2,394
11 YAJL 2,078
12 facil.io 1,704
13 LIBUCL 1,504
14 ejdb 1,368
15 json-parser 1,216
16 parson 1,185
17 wal2json 1,069
18 ulfius 922
19 pmacct 907
20 jsquery 677
21 OwnTracks Recorder 669
22 frozen 646
23 c-ray 628
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives