json-c
rapidyaml
json-c | rapidyaml | |
---|---|---|
18 | 13 | |
2,869 | 517 | |
0.6% | - | |
7.3 | 8.1 | |
6 days ago | 5 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
rapidyaml
-
Faces.js, a JavaScript library for generating vector-based cartoon faces
Interesting, I hadn't come across extism before. How hard would it be to package https://github.com/biojppm/rapidyaml in this way? (And do you have a extism for dummies guide?)
-
A convenient C string API, friendly alongside classic C strings.
The inability, or brittleness, to embed NUL bytes into the string, for once. Zeroed bytes can be valid as an internal bytes of a longer encoded character. And the inefficiency of tempting every caller to rederive the string length on every use, leading to such bugs as quadratic parsing behavior with sscanf. The extra register for an explicit length is a very minute price to pay compared to that.
-
Funniest line of code you wrote while making a game?
Although you still have the other problem of sscanf, where read times can become quadratic.
-
yaml-cpp VS rapidyaml - a user suggested alternative
2 projects | 5 Feb 2022
- Since this is about json parsing and the tdarr json db can take ungodly times to load, maybe it's relevant?
- Parsing can become accidentally quadratic because of sscanf
-
"Expanded and Enhanced"
You are really simplifying that issue. A lot of it has to be how the implementation of sscanf works and it's super easy to abuse by complete accident when a lot of data needs to be read and parsed to correct values. See more here: https://github.com/biojppm/rapidyaml/issues/40
-
Accidentally quadratic: When Python is faster than C++
Leading to eye-rolling problems like these: https://github.com/biojppm/rapidyaml/issues/40
What are some alternatives?
cJSON - Ultralightweight JSON parser in ANSI C
wasm3 - 🚀 A fast WebAssembly interpreter and the most universal WASM runtime
Jansson - C library for encoding, decoding and manipulating JSON data
degasolv - Democratize dependency management.
JsonCpp - A C++ library for interacting with JSON.
Vrmac - Vrmac Graphics, a cross-platform graphics library for .NET. Supports 3D, 2D, and accelerated video playback. Works on Windows 10 and Raspberry Pi4.
JSMN - Jsmn is a world fastest JSON parser/tokenizer. This is the official repo replacing the old one at Bitbucket
JitFromScratch - Example project from my talks in the LLVM Social Berlin and C++ User Group
json - JSON for Modern C++
ctl - The C Template Library
libjson - a JSON parser and printer library in C. easy to integrate with any model.
text-unicode - Unicode text OT implementation