json-c
cJSON
json-c | cJSON | |
---|---|---|
18 | 15 | |
2,869 | 10,049 | |
0.6% | - | |
7.3 | 5.5 | |
6 days ago | 3 days ago | |
C | C | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
json-c
-
We need a JSON 2
When you say .jsonc, do you mean JSONC, JSONC, or JSONC? And have I mentioned JSON-C?
- Json-c error
-
How can i interact with a rest api and process images and json in c
to manipulate JSON data: https://github.com/json-c/json-c (I haven't used that one personally but it looks good)
-
Ask HN: Modern C Libraries
If you want a comfortable developer experience without having to "develop standard functionality," choose another language.
Otherwise: libcurl for the requests, json-c[0] for the JSON handling. SDL for window handling/events/other glue stuff. I don't know what rocksdb is but I assume it has its own C API library.
[0]https://github.com/json-c/json-c
- Typical haters
-
Why?
There’s also json-c and Hjson.
-
(Just out of sheer curiosity) Is there's any way to get JSON responses from HTTP request (https://ipinfo.io/) and store them in a structure of C?
Yes. This library does basically that: https://github.com/json-c/json-c
-
Having trouble using the mingw32-make command to build json-c library
$ git clone https://github.com/json-c/json-c.git $ mkdir json-c-build $ cd json-c-build $ cmake ../json-c
-
How can I parse JSON with C?
Look for the instructions here: https://github.com/json-c/json-c
- How to read and write to .JSON files in C
cJSON
-
Botlib: Telegram Bots in C by Antirez
It’s a library he’s including directly. It’s the same.
https://github.com/DaveGamble/cJSON
- Made a web app (URL Shortener )in C
- l
-
A good C library to parse json data
a quick google search is always easier than a whole reddit post cJSON
-
jemi: a compact JSON serializer for embedded systems
This is quite similar to cJSON, although cJSON leans more towards dynamic memory allocation.
-
Is there a de facto standard JSON library for C?
If 'de-factoness' (urgh) was measured in GitHub stars, then https://github.com/DaveGamble/cJSON would win.
- cJSON can't parse strings with a zero character in it, because strings are zero terminated in this api. But doesn't that make it absolutely useless for production? Like, one /0 and my programs crashes/can't parse? Why can't it be escaped?
- CJSON – Ultralightweight JSON parser in ANSI C
-
Luau Goes Open-Source
You often end up with cases where you have to manually call the correct free function for the type you're using, again completely untyped - e.g. if I'm using both sentry and cjson, then my function will ook something like this:
-
A tiny json parser for study.
Nice how would you compare this to DaveGambles cJSON? https://github.com/DaveGamble/cJSON (which I what I currently use)
What are some alternatives?
Jansson - C library for encoding, decoding and manipulating JSON data
JsonCpp - A C++ library for interacting with JSON.
ArduinoJson - 📟 JSON library for Arduino and embedded C++. Simple and efficient.
JSMN - Jsmn is a world fastest JSON parser/tokenizer. This is the official repo replacing the old one at Bitbucket
json - JSON for Modern C++
RapidJSON - A fast JSON parser/generator for C++ with both SAX/DOM style API
libjson - a JSON parser and printer library in C. easy to integrate with any model.
yyjson - The fastest JSON library in C