Skip to content
Eric Hawicz edited this page Apr 14, 2022 · 24 revisions

Stand With Ukraine

JSON-C - A JSON implementation in C


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.


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

See also List of json-c- tutorials

Obtain sources

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

SHA-256 checksums:

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

  • SHA256(json-c-0.16-nodoc.tar.gz)= ac8a3dd6820daaca579b23fbc74664310fbc3d67f52f6707cda67d21dde5570f
  • SHA256(json-c-0.16.tar.gz)= 8e45ac8f96ec7791eaf3bb7ee50e9c2100bbbc87b8d0f1d030c5ba8a0288d96b

MD5 checksums:

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

  • MD5(json-c-0.16-nodoc.tar.gz)= 0607902c815b6200d2d7a55ba2414e54
  • MD5(json-c-0.16.tar.gz)= 8110782cb2a996da5517f1f27a4bed8e


See for full details. To setup JSON-C to build on your system please run:

tar xzf json-c-0.15.tar.gz
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/some/install/path ../json-c-0.15
make all test install

If you are on Win32, from a Visual Studio "x64 Native Tools Command Prompt" or similar:

mkdir build
cd build
cmake ../json-c-0.15
msbuild "json-c.vcxproj" /m /verbosity:normal /p:OutDir=lib\

GIT Repository

git clone

Mailing List

Send email to json-c at googlegroups dot com

You'll need to join the group first, see:!forum/json-c


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

Checksums for older releases