JSON-C - A JSON implementation in C

Latest release: json-c-0.1.tar.gz

JSON-C implements a reference counting object model that allows you to easily construct JSON objects in C, output them as JSON formatted strings and parse JSON formatted strings back into the C representation of JSON objects.

Minimal documentation exists here, Although you are probably better reading the example code in test1.c.

JSON-C currently depends on some gcc 3.0+ features so can probably only be compiled with gcc 3.0+. It also uses some specifc glibc functions such as vasprintf. Patches welcome to port to other compilers / platforms.

Please send bug reports to michael@metaparadigm.com

Anonymous CVS

# export CVSROOT=:pserver:anoncvs@cvs.metaparadigm.com:/cvsroot
# cvs login
Logging in to :pserver:anoncvs@cvs.metaparadigm.com:2401/cvsroot
CVS password: <enter 'anoncvs'>
# cvs co json-c

Copyright Metaparadigm Pte. Ltd. 2004. Michael Clark

This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public (LGPL) License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.