C JSON

Open-source C projects categorized as JSON

Top 23 C JSON Projects

  1. cJSON

    Ultralightweight JSON parser in ANSI C

    Project mention: Why Fennel? | news.ycombinator.com | 2025-04-13

    > I'm assuming your statement would be meant to apply to other common languages without s-expressions, but maybe I've misunderstood.

    It was meant for C specifically. Take a JSON document. Define it in C. Here's what I see on a random cJSON GitHub project:

    https://github.com/DaveGamble/cJSON/blob/master/README.md#ex...

    Now do that in JavaScript:

    ```

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. tbox

    🎁 A glib-like multi-platform c library

  4. ultrajson

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

    Project mention: Ultimate Guide to JSON Parsing in Python | dev.to | 2025-01-03

    So json is reliable and powerful though not as fast as some other community json libraries like ujson or orjson which are further optimized for speed.

  5. gravity

    Gravity Programming Language

  6. JSMN

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

    Project mention: JSON for Classic C++ | news.ycombinator.com | 2024-11-13

    If you want to go extremely lightweight, there’s jsmn: https://github.com/zserge/jsmn

    It does no dynamic memory allocation, which is a plus in constrained IoT/embedded applications. But it’s really only a tokenizer. For example, if you want to parse fields out of a map, you have to write your own wrappers to iterate over key/value pairs. Since no data is copied out of the original buffer, all the “tokens” are given as byte offsets and lengths, not null-terminated strings, so you can’t just do printf(“%s”).

    If you can’t (or don’t want to) malloc, it gets the job done. Not sure I’d recommend it for other applications though.

  7. yyjson

    The fastest JSON library in C

  8. Jansson

    C library for encoding, decoding and manipulating JSON data

  9. SaaSHub

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

    SaaSHub logo
  10. Oj

    Optimized JSON

    Project mention: Optimizing Ruby's JSON, Part 4 | news.ycombinator.com | 2025-01-03

    Ah, I figured why on the Oj side `ruby/json` appeared slower: https://github.com/ohler55/oj/pull/949

  11. 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/

  12. webdis

    A Redis HTTP interface with JSON output

    Project mention: Automatically Generate REST and GraphQL APIs From Your Database | dev.to | 2024-12-19

    Webdis (Redis)

  13. StringZilla

    Up to 10x faster strings for C, C++, Python, Rust, Swift & Go, leveraging NEON, AVX2, AVX-512, SVE, & SWAR to accelerate search, hashing, sort, edit distances, and memory ops 🦖

    Project mention: Strings Just Got Faster | news.ycombinator.com | 2025-05-02

    At this point, it doesn’t provide much novel functionality, but it should be faster than the standard libraries of most (or maybe all) programming languages.

    https://github.com/ashvardanian/StringZilla

  14. facil.io

    Your high performance web application C framework

  15. YAJL

    A fast streaming JSON parsing library in C.

  16. LIBUCL

    Universal configuration library parser

  17. ejdb

    :snowboarder: EJDB2 — Embeddable JSON Database engine C library. Simple XPath like query language (JQL).

  18. Melon

    A generic cross-platform C library that includes many commonly used components and frameworks, and a new scripting language interpreter. It currently supports C99 and Aspect-Oriented Programming (AOP).

  19. parson

    Lightweight JSON library written in C.

  20. wal2json

    JSON output plugin for changeset extraction

    Project mention: Pg_flo – Stream, transform, and route PostgreSQL data in real-time | news.ycombinator.com | 2024-11-03

    https://github.com/eulerto/wal2json has existed for this purpose for many years, just transform the incoming records into JSON and parse with literally any standard tool that reads the format.

  21. json-parser

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

  22. ucall

    Web Serving and Remote Procedure Calls at 50x lower latency and 70x higher bandwidth than FastAPI, implementing JSON-RPC & REST over io_uring ☎️

  23. pmacct

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

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

  25. mlib

    Library of generic and type safe containers in pure C language (C99 or C11) for a wide collection of container (comparable to the C++ STL).

  26. SaaSHub

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

    SaaSHub logo
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).

C JSON discussion

Log in or Post with

C JSON related posts

Index

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

# Project Stars
1 cJSON 11,603
2 tbox 5,000
3 ultrajson 4,413
4 gravity 4,392
5 JSMN 3,847
6 yyjson 3,337
7 Jansson 3,194
8 Oj 3,174
9 json-c 3,113
10 webdis 2,900
11 StringZilla 2,582
12 facil.io 2,296
13 YAJL 2,173
14 LIBUCL 1,671
15 ejdb 1,453
16 Melon 1,416
17 parson 1,393
18 wal2json 1,392
19 json-parser 1,303
20 ucall 1,224
21 pmacct 1,118
22 ulfius 1,111
23 mlib 1,000

Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com