A simple C JSON library, name subject to change
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Staffan Thomen c4670bae81 Added tag 1.0-beta1 for changeset 73d91a126bb6 2 months ago
src Move p = NULL in json_decode_state() 2 months ago
.hgignore Ignore the c and h files for the grammar too. 5 months ago
.hgtags Added tag 1.0-beta1 for changeset 73d91a126bb6 2 months ago
Makefile Move the dup() function to a separate file, and use the libc strndup if available 2 months ago
README.md Update README 5 months ago
json.h Add a json_decode_state function that exposes the result of the parsing (currently only the token value is set that contains the unexpected token that was found) 2 months ago
version.mk Add an install target to the makefile, and a version.mk file that stores the version numbers used. 4 months ago



Super simple C JSON implementation, designed to work on IRIX 6.5, as part of my Motif Matrix client project.

libjson requires lemon to generate the JSON parsing code (json_decode()).

cmocka is needed if you want to run the unit tests.

Note that the Makefile is in the BSD/smake format, NOT GNU.