Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
|
|
14 years ago | |
|---|---|---|
| tests | 13 years ago | |
| .gitignore | 13 years ago | |
| AUTHORS | 14 years ago | |
| COPYING | 18 years ago | |
| ChangeLog | 14 years ago | |
| Doxyfile | 15 years ago | |
| INSTALL | 18 years ago | |
| Makefile.am | 13 years ago | |
| Makefile.am.inc | 13 years ago | |
| NEWS | 14 years ago | |
| README | 14 years ago | |
| README-WIN32.html | 14 years ago | |
| README.html | 14 years ago | |
| RELEASE_CHECKLIST.txt | 14 years ago | |
| arraylist.c | 14 years ago | |
| arraylist.h | 14 years ago | |
| autogen.sh | 18 years ago | |
| bits.h | 15 years ago | |
| config.h.in | 13 years ago | |
| config.h.win32 | 13 years ago | |
| configure.in | 13 years ago | |
| debug.c | 16 years ago | |
| debug.h | 13 years ago | |
| json-c.vcproj | 18 years ago | |
| json-uninstalled.pc.in | 13 years ago | |
| json.h | 13 years ago | |
| json.pc.in | 18 years ago | |
| json_config.h.in | 13 years ago | |
| json_inttypes.h | 13 years ago | |
| json_object.c | 13 years ago | |
| json_object.h | 13 years ago | |
| json_object_iterator.c | 13 years ago | |
| json_object_iterator.h | 13 years ago | |
| json_object_private.h | 13 years ago | |
| json_tokener.c | 13 years ago | |
| json_tokener.h | 13 years ago | |
| json_util.c | 14 years ago | |
| json_util.h | 14 years ago | |
| linkhash.c | 13 years ago | |
| linkhash.h | 13 years ago | |
| printbuf.c | 13 years ago | |
| printbuf.h | 13 years ago | |
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)
No Description
C Markdown Text Shell C++ other