Skip to content
Yang Shen edited this page Aug 13, 2020 · 20 revisions

JSON-C - A JSON implementation in C

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. 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.15.tar.gz"

  • SHA256(json-c-0.15-nodoc.tar.gz)= 99bca4f944b8ced8ae0bbc6310d6a3528ca715e69541793a1ef51f8c5b4b0878
  • SHA256(json-c-0.15.tar.gz)= b8d80a1ddb718b3ba7492916237bbf86609e9709fb007e7f7d4322f02341a4c6

MD5 checksums:

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

  • MD5(json-c-0.15-nodoc.tar.gz)= e6353ee906a552b203caa1cd569406c4
  • MD5(json-c-0.15.tar.gz)= 55f395745ee1cb3a4a39b41636087501

Building

See README.md 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\

Documentation

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

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

License

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

Checksums for older releases

See https://github.com/json-c/json-c/wiki/Old-Releases

You can’t perform that action at this time.