quartzjer/js0n
View on GitHub ↗ ★ 344 C
Flexible Zero-Footprint JSON Parser in C
5 mentions on Hacker News by 5 people: 1 story, 4 comments · first 2011-02-04 · latest 2014-11-15
20082026
-
It would be nice if the README mentioned it was originally based on my https://github.com/quartzjer/js0n :)
comment by jeremie · 2014-11-15 · in Show HN: A Fast, Malloc-Free C++14 Json Parser and Encoder -
If we're golfing: https://github.com/quartzjer/js0n/blob/master/js0n.c Appears to work the same way, though it doesn't bubble back type information. (Also, the `goto * go[ * cur];` trick was pretty crazy the first time I saw it)
comment by gilgad13 · 2012-08-15 · in Jsmn, a minimalistic JSON parser in C -
…for parsers. Particularly nifty is Jaremie Miller's js0n parser, which makes heavy use of this: https://github.com/quartzjer/js0n/blob/master/js0n.c
comment by wrl · 2011-10-14 · in What is your favourite C programming trick? -
A JSON parser (of sorts) in roughly 150 lines of C code. I'm not the author. https://github.com/quartzjer/js0n
comment by kurige · 2011-02-04 · in What can you do in 2k LOC of C?