2010-10-07 01:05:14 +00:00
2010-10-07 01:05:14 +00:00
2010-10-07 01:05:14 +00:00
2010-10-07 01:05:14 +00:00
2010-10-07 01:05:14 +00:00
2010-10-07 01:05:14 +00:00

Building on Unix with git, gcc and autotools

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

Github repo for json-c:
  https://github.com/json-c/json-c

    $ git clone https://github.com/json-c/json-c.git
    $ cd 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)
Description
https://github.com/json-c/json-c is the official code repository for json-c. See the wiki for release tarballs for download. API docs at http://json-c.github.io/json-c/
Readme 5.7 MiB
Languages
C 86.8%
CMake 6.1%
Shell 3.4%
Meson 2.5%
C++ 0.9%
Other 0.3%