Re: [dev] json

From: Mattias Andrée <maandree_AT_kth.se>
Date: Thu, 6 Jun 2019 17:23:39 +0200

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.bertrand_AT_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.
>
Received on Thu Jun 06 2019 - 17:23:39 CEST

This archive was generated by hypermail 2.3.0 : Thu Jun 06 2019 - 17:36:07 CEST