3 ms·
Hmm, looks complex compared to this one that I've been using called JSMN: http://zserge.bitbucket.org/jsmn.html http://zserge.bitbucket.org/jsmn.html
by bengl3rt 14y ago
Hmm, looks complex compared to this one that I've been using called JSMN:
http://zserge.bitbucket.org/jsmn.html http://zserge.bitbucket.org/jsmn.html
- kgabis 14y agojsmn is more of a lexer and it doesn't support unicode.
- udp 14y agoHave you really been using jsmn for something or did you just recall the link? IMHO jsmn doesn't do nearly enough with the JSON to make it usable by an application (it's basically a lexer).
- hendi_ 14y agojsmn 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.