Re: [dev] json

2019-06-06 Thread Wolf
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\u592

Re: [dev] json

2019-06-06 Thread Mattias Andrée
Hi! I wrote a simple parser: https://github.com/maandree/json.h It's almost completely untested and I haven't implemented support for numbers yet. Regards, Mattias Andrée On Thu, 6 Jun 2019 13:09:50 + sylvain.bertr...@gmail.com wrote: > On Wed, Jun 05, 2019 at 03:05:21PM +0200, Mattias A

Re: [dev] json

2019-06-06 Thread sylvain . bertrand
On Wed, Jun 05, 2019 at 03:05:21PM +0200, Mattias Andrée wrote: > Hi! > > What do you need from the library? If I recall correctly, > jsonc is good enough, and have all the functionality you > will need. If you only need to be able to parse into > struct:s, writing a small parser is simple (assumi