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
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
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/
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
-
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-26Here 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.
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!
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
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.
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 |