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 +0000
sylvain.bertr...@gmail.com wrote:

> 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 (assuming you
> > go against the RFC and only support UTF-8 like a sane
> > person).  
> 
> I'll parse UTF-8 (in theory) JSON to generate C code: short lived
> process-->don't care about memory management.
> 
> 1 - parse the JSON into a C friendly structs graph 
> 2 - parse that graph to generate some C code.
> 

Reply via email to