chiark / gitweb /
shared/json: Added DOM-like JSON parser
authorPavel Odvody <podvody@redhat.com>
Tue, 19 May 2015 14:29:42 +0000 (16:29 +0200)
committerSven Eden <yamakuzure@gmx.net>
Tue, 14 Mar 2017 08:57:18 +0000 (09:57 +0100)
commitdd982f5f259ddb480a9cc13dc56c2ea52c61f5b2
treeb5a357aad868f9affead7c8a1ef754218c19132e
parent1918e5df007ce782ee6e6d6da04756d9aa6c18b5
shared/json: Added DOM-like JSON parser

This makes working with complexly structured documents easy
and more reliable as the parser is not susceptible to
element re-ordering.

Also fixes a bug when the tokenizer would choke after reading
a number.
src/shared/json.c
src/shared/json.h