DaveGamble/cJSON
View on GitHub ↗ ★ 13,067 C
Ultralightweight JSON parser in ANSI C
9 mentions on Hacker News by 9 people: 1 story, 8 comments · first 2019-01-06 · latest 2025-09-21
20082026
-
…a few issues and eventually moved away from it (can't recall why exactly its been so long.) [0] https://github.com/DaveGamble/cJSON [1] https://github.com/netmail-open/wjelement
comment by mcflubbins · 2025-09-21 · in Sj.h: A tiny little JSON parsing library in ~150 lines of C99 -
…Take a JSON document. Define it in C. Here's what I see on a random cJSON GitHub project: https://github.com/DaveGamble/cJSON/blob/master/README.md#ex... Now do that in JavaScript: const jsonDoc = { "name": "Awesome 4K" ... } Now make the…
comment by evdubs · 2025-04-16 · in Why Fennel? -
Did you try cJSON? Works well for me. https://github.com/DaveGamble/cJSON
comment by alex_suzuki · 2024-11-14 · in JSON for Classic C++ -
▲ 50
CJSON – Ultralightweight JSON parser in ANSI Cstory by maydemir · 2022-02-11 · 38 comments
-
My statement: https://github.com/DaveGamble/cJSON/commit/65541b900c740e1d5... At some point I have realised, that just letting cJSON be the horror of a codebase it was before I started maintaining it would have been the best thing to do,…
comment by FSMaxB · 2020-11-24 · in “To be safe allocate 5 bytes more than you need” -
The Pull Request is at https://github.com/DaveGamble/cJSON/pull/146
comment by Znafon · 2020-11-23 · in “To be safe allocate 5 bytes more than you need” -
Some more clues where this comes from are in this issue: https://github.com/DaveGamble/cJSON/issues/255
comment by avian · 2020-11-23 · in “To be safe allocate 5 bytes more than you need” -
…is 5. The comment explains the what but not the why . The commit message is equally as useless: https://github.com/DaveGamble/cJSON/commit/65541b900c740e1d5... What needs to be fixed so that this "+5" can be removed? What happens if…
comment by cbsks · 2020-11-23 · in “To be safe allocate 5 bytes more than you need” -
…inter-procedure optimization resulting in machine code that is between 5% and 10% faster. [1] https://github.com/DaveGamble/cJSON
comment by simias · 2019-01-06 · in Single C file TLS 1.2/1.3 implementation using tomcrypt