C JSON

Open-source C projects categorized as JSON

Top 21 C JSON Projects

  • cJSON

    Ultralightweight JSON parser in ANSI C

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

  • gravity

    Gravity Programming Language

    Latest mention: Lua's Lack of “Batteries” | news.ycombinator.com | 2021-01-15

    This is gonna be subjective, because it depends on what your priorities are.

    The two alternatives at the top of my list are Gravity and Wren. They are both designed for the same general profile that Lua has—a scripting language, safe to use, embeddable, with a small VM (low code size).

    - https://github.com/marcobambini/gravity

    - https://wren.io/

    The language design choices are nice and familiar to people who are used to other existing languages. Lua is a bit radical.

    Two other options are AngelScript and Squirrel, which are both a bit older and more mature than Gravity and Wren. In my opinion they are

    - http://www.angelcode.com/angelscript/

    - http://squirrel-lang.org/

    Finally, it’s much more feasible these days to embed something like Mono, and Guile has gotten a lot better.

  • tbox

    🎁 A glib-like multi-platform c library

  • ultrajson

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

  • oj

    Optimized JSON

  • miller

    Miller is like awk, sed, cut, join, and sort for name-indexed data such as CSV, TSV, and tabular JSON

    Latest mention: The Miller Community Forum | news.ycombinator.com | 2021-01-19
  • jsmn

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

  • jansson

    C library for encoding, decoding and manipulating JSON data

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

  • yajl

    A fast streaming JSON parsing library in C.

  • facil.io

    Your high performance web application C framework

  • libucl

    Universal configuration library parser

    Latest mention: The YAML file of Prometheus Operator has over 13k lines, one of the longest YAML files on GitHub ever | reddit.com/r/programming | 2020-12-26

    Here you go: https://github.com/vstakhov/libucl

  • json-parser

    Very low footprint JSON parser written in portable ANSI C

  • frozen

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

  • recorder

    Store and access data published by OwnTracks apps

  • json.h

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

  • libjson

    a JSON parser and printer library in C. easy to integrate with any model.

  • libxo

    The libxo library allows an application to generate text, XML, JSON, and HTML output using a common set of function calls. The application decides at run time which output style should be produced.

    Latest mention: Linux and Powershell | news.ycombinator.com | 2021-01-19

    Ah, that's interesting, thanks for sharing. Their github README does a nice job of showing how it doesn't add a lot of work: https://github.com/Juniper/libxo

  • ekon

    A JSON alternative for sane people. Combination of simplicity & power. Check it out!

    Latest mention: Little JSON scaffolding tool in Svelte | reddit.com/r/sveltejs | 2020-12-27

    I have bookmarked this. Heck even cloned this. I am building https://github.com/Himujjal/ekon as of now. Once the webassembly build is out for EKON, I will put this through the same thing.

  • eja

    eja micro web server

    Latest mention: What projects have you done with Lua? | reddit.com/r/lua | 2020-12-22

    I wrote a micro web server named eja which is basically a Lua interpreter with sockets compiled in and an essential Lua library of functions to serve dynamic generated pages and daily console/sysadmin operations, it is on Debian since several years and I personally use it on hundreds of servers for the companies I have been and I still work for. On top of eja I have also wrote Tibula, a mysql/sqlite3 dmbs largely inspired by phpMyAdmin.

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 2021-01-19.

Index

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

Project Stars
1 cJSON 5,378
2 poco 4,946
3 gravity 3,760
4 tbox 3,524
5 ultrajson 3,108
6 oj 2,671
7 miller 2,632
8 jsmn 2,468
9 jansson 2,320
10 json-c 2,045
11 yajl 1,975
12 facil.io 1,370
13 libucl 1,313
14 json-parser 1,045
15 frozen 513
16 recorder 477
17 json.h 360
18 libjson 223
19 libxo 182
20 ekon 18
21 eja 6