json-c
hjson
json-c | hjson | |
---|---|---|
18 | 5 | |
2,869 | 2,625 | |
0.6% | 0.3% | |
7.3 | 4.8 | |
6 days ago | 16 days ago | |
C | HTML | |
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
hjson
-
Why the fuck are we templating YAML? (2019)
HJson https://hjson.github.io seems a nice 'in-between' between YAML and JSON without the indentation-based syntax, so closer to the JSON side but with comments and less quotes.
What I don't really get is why the cloud providers / tooling implementors have never drafted up a "YAML-light" that just throws out the rarely-used headache-inducing syntax elements.
-
That's a Lot of YAML
Hjson is very similar to JSON5 but allows quotes to be dropped and can use newlines instead of commas. There are implementations for a lot of different languages, I myself contributed the C++ implementation. I wanted something smaller than Yaml but more lax than JSON, found Hjson to suit my needs perfectly.
https://hjson.github.io/
-
The real reason JSON has no comments
JSONs make terrible config files. If you want to use json-like syntax for config, use hjson instead. It's basically json, but changes it slightly so it better matches human expectations.
-
The YAML Document from Hell
```
YAML and JSON succeeded because they had a clean and predictable, no-nonsense mapping between encoding and object-model after decoding. Probably we should all switch to an almost-yaml format that does away with the peculiarities, and the FANG companies would have the momentum to make that happen.
I personally would like for HJSON (https://hjson.github.io) to see more adoption, but that train has passed...
-
Why?
There’s also json-c and Hjson.
What are some alternatives?
cJSON - Ultralightweight JSON parser in ANSI C
noyaml - A silly emotional rant about the state of devops tooling/the infrastructure sector in 2018. #noyaml.com
Jansson - C library for encoding, decoding and manipulating JSON data
yj - CLI - Convert between YAML, TOML, JSON, and HCL. Preserves map order.
JsonCpp - A C++ library for interacting with JSON.
LIBUCL - Universal configuration library parser
JSMN - Jsmn is a world fastest JSON parser/tokenizer. This is the official repo replacing the old one at Bitbucket
www.yaml.org - The yaml.org website
json - JSON for Modern C++
cuetorials.com - Learn you some CUE for a great good!
libjson - a JSON parser and printer library in C. easy to integrate with any model.
json2jsii - Generates jsii-compatible structs from JSON schemas