Re:Show HN: Parson, lighweight json parser in C
by hendi_ on Sunday October 28, 2012 @01:52PM
(#4709494)
jsmn is great if you use it as a lexer and you know that your input is well-formed. We use it for our games to read in our configuration, gamemodes and level files. We've just built a few wrapper functions around jsmn and called it "jsmx", and it suits our needs perfectly :-)
But you're right, if you want a json library to parse arbitrary json input using a more complex library like this one is the easier and more viable route than using jsmn.
IMHO jsmn doesn't do nearly enough with the JSON to make it usable by an application (it's basically a lexer).