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
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
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
Hi,
2019-06-05 14:41 GMT+02:00, sylvain.bertr...@gmail.com
:
> Hi,
>
> After xml, json.
>
> Do you know of a light json parser lib? Or json seeming being very simple,
> better write a parser directly?
>
> I have libjq from the jq command line, but this is quite a beast and don't
> think
> it fits
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).
Rega
Hi,
After xml, json.
Do you know of a light json parser lib? Or json seeming being very simple,
better write a parser directly?
I have libjq from the jq command line, but this is quite a beast and don't think
it fits anymore in the suckless frame.
--
Sylvain