On , Teodoro Santoni wrote: > I like jsmn [1] because I like SAX or PULL style parsers. > There's a list of C JSON parsers at json.org. > > [1]: https://github.com/zserge/jsmn
Thing to keep in mind is that jsmn does not transform (unescape) strings. So for example json "\u732b\u304c\u5927\u597d\u304d" will get you string \u732b\u304c\u5927\u597d\u304d instead of 猫が大好き That might or might not be a problem for you depending on your use case. I personally use http://www.digip.org/jansson/ , not sure how "suckless" it is though. W. -- There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors.
signature.asc
Description: PGP signature