json.h
json-c
Our great sponsors
json.h | json-c | |
---|---|---|
0 | 18 | |
658 | 2,851 | |
- | 0.8% | |
2.9 | 7.1 | |
about 2 months ago | 27 days ago | |
C | C | |
The Unlicense | GNU General Public License v3.0 or later |
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.h
We haven't tracked posts mentioning json.h yet.
Tracking mentions began in Dec 2020.
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
-
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.
-
Why?
There’s also json-c and Hjson.
-
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
-
How to parse JSON in C ?
There are a few libraries out there for doing it. I like json-c but there are others.
-
Install Sway without sudo privilege
git clone https://github.com/json-c/json-c mkdir json-c-build cd json-c-build cmake ../json-c make And link json-c-build folder to sway's meson build file.
- Linus Torvalds on where Rust will fit into Linux
-
How a Bad Random Number Generator Froze Sway (2020)
It seems json-c uses a random number generator to get a seed that it then uses for string hashing. This is one way of protecting yourself against hash denial-of-service attacks.
https://github.com/json-c/json-c/blob/df27756491abf9ecce648c...
What are some alternatives?
cJSON - Ultralightweight JSON parser in ANSI C
Jansson - C library for encoding, decoding and manipulating JSON data
JsonCpp - A C++ library for interacting with JSON.
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++
libjson - a JSON parser and printer library in C. easy to integrate with any model.
yyjson - The fastest JSON library in C
parson - Lightweight JSON library written in C.
rapidyaml - Rapid YAML - a library to parse and emit YAML, and do it fast.
simdjson - Parsing gigabytes of JSON per second : used by Facebook/Meta Velox, the Node.js runtime, ClickHouse, WatermelonDB, Apache Doris, Milvus, StarRocks
YAJL - A fast streaming JSON parsing library in C.
yaml-cpp - A YAML parser and emitter in C++