Eric Haszlakiewicz edited this page Aug 8, 2016 · 14 revisions
Clone this wiki locally

JSON-C - A JSON implementation in C

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


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. It aims to conform to RFC 7159.

Fetch release tarballs from the downloads page (Amazon S3).

SHA-256 checksums:

These can be verified by running "openssl sha -sha256 json-c-0.12.1.tar.gz"

  • SHA256(json-c-0.12.1-nodoc.tar.gz)= 5a617da9aade997938197ef0f8aabd7f97b670c216dc173977e1d56eef9e1291
  • SHA256(json-c-0.12.1.tar.gz)= 2a136451a7932d80b7d197b10441e26e39428d67b1443ec43bbba824705e1123

Older releases:

  • SHA256(json-c-0.12-nodoc.tar.gz)= 6fd6d2311d610b279e1bcdd5c6d4f699700159d3e0786de8306af7b4bc94fb35
  • SHA256(json-c-0.12.tar.gz)= 000c01b2b3f82dcb4261751eb71f1b084404fb7d6a282f06074d3c17078b9f3f
  • c1356c3b0956b0f13966c1a75f136b38c41eca2c93344adec77f8a7dd583ee57 json-c-0.11-nodoc.tar.gz
  • 28dfc65145dc0d4df1dfe7701ac173c4e5f9347176c8983edbfac9149494448c json-c-0.11.tar.gz
  • 536a2e8846653ee11695722c1d546c28a9034f59accc8c1f76cf5823b1ff409f json-c-0.10-nodoc.tar.gz
  • 274fc9d47c1911fad9caab4db117e4be5d6b68c4547eab0c508d79c4768e170c json-c-0.10.tar.gz
  • 702a486c9bf8e19137d484ab5c49b4ad314eb5e1fe37062a72c0a0fa39439475 json-c-0.9.tar.gz

MD5 checksums:

These can be verified by running "openssl md5 json-c-0.12.1.tar.gz"

  • MD5(json-c-0.12.1-nodoc.tar.gz)= 5b91ab230d9b6b0ee20fc19cf25094f5
  • MD5(json-c-0.12.1.tar.gz)= 55f7853f7d8cf664554ce3fa71bf1c7d

Older releases:

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


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

./configure --prefix=/some/install/path
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.


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

There are also specific notes for building on Win32.

GIT Repository

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

Mailing List

Send email to json-c at googlegroups dot com

You'll need to join the group first, see: https://groups.google.com/forum/?nomobile=true#!forum/json-c


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