Skip to content
Eric Haszlakiewicz edited this page Nov 20, 2013 · 7 revisions

JSON-C - A JSON implementation in C

(Note: this is the current site for json-c. The content over at metaparadigm.com is obsolete.)

Overview

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.

Fetch release tarballs from the downloads page.

Note: the legacy github downloads page is still available until they disable it, but any new releases will NOT be placed there.

SHA-256 checksums:

  • 536a2e8846653ee11695722c1d546c28a9034f59accc8c1f76cf5823b1ff409f json-c-0.10-nodoc.tar.gz
  • 274fc9d47c1911fad9caab4db117e4be5d6b68c4547eab0c508d79c4768e170c json-c-0.10.tar.gz
  • c1356c3b0956b0f13966c1a75f136b38c41eca2c93344adec77f8a7dd583ee57 json-c-0.11-nodoc.tar.gz
  • 28dfc65145dc0d4df1dfe7701ac173c4e5f9347176c8983edbfac9149494448c json-c-0.11.tar.gz
  • 702a486c9bf8e19137d484ab5c49b4ad314eb5e1fe37062a72c0a0fa39439475 json-c-0.9.tar.gz

MD5 checksums:

  • MD5 (json-c-0.10-nodoc.tar.gz) = a84a359f11295c85ebe01a392c54154e
  • MD5 (json-c-0.10.tar.gz) = a4edc79410eb894f08d7d52ca9f88732
  • MD5 (json-c-0.11-nodoc.tar.gz) = 4ac9dae7cc2975dba7bc04b4c0b98953
  • MD5 (json-c-0.11.tar.gz) = aa02367d2f7a830bf1e3376f77881e98
  • MD5 (json-c-0.9.tar.gz) = 3a13d264528dcbaf3931b0cede24abae

Building

To setup JSON-C to build on your system please run:

./configure --prefix=/some/install/path
make
make check
make install

If you are on Win32 and are not using the VS project file, be sure to rename config.h.win32 to config.h before building.

Documentation

For detailed information on using json-c, refer to the Doxygen generated API docs.

There are also specific notes for building on Win32.

git clone https://github.com/json-c/json-c.git

Send email to json-c at googlegroups dot com

License

This program is free software; you can redistribute it and/or modify it under the terms of the MIT License.