Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jehiah/json-c

Official code repository for json-c http://oss.metaparadigm.com/json-c/
https://github.com/jehiah/json-c

Last synced: 3 months ago
JSON representation

Official code repository for json-c http://oss.metaparadigm.com/json-c/

Awesome Lists containing this project

README

        

Building on Unix with gcc and autotools

Home page for json-c:
http://oss.metaparadigm.com/json-c/

If checking out from SVN (http://svn.metaparadigm.com/svn/json-c/trunk) or Git (https://github.com/jehiah/json-c):

$ sh autogen.sh

Then

$ ./configure
$ make
$ make install

To build and run the test programs run

$ make check

Linking to libjson

If your system has pkgconfig then you can just add this to your makefile

CFLAGS += $(shell pkg-config --cflags json)
LDFLAGS += $(shell pkg-config --libs json)