json-c/json-c logo

json-c/json-c

Free

https://github.com/json-c/json-c is the official code repository for json-c. See the wiki for release tarballs for download. API docs at http://json-c.github.io/json-c/

FreeFree tier
Type
Open Source

About json-c/json-c

json-c is a reference counting object model implementation in C that allows developers to easily construct JSON objects, output them as JSON formatted strings, and parse JSON formatted strings back into C representation of JSON objects. It aims to conform to RFC 8259. The library is hosted on GitHub and provides a stable API for JSON manipulation in C-based applications.

Key Features

Reference counting object model for JSON
Construct JSON objects in C
Output JSON formatted strings
Parse JSON formatted strings into C objects
Conforms to RFC 8259
Lightweight and efficient C library

Pros & Cons

Pros
  • Open source (MIT license)
  • Reference counting simplifies memory management
  • Conforms to JSON specification (RFC 8259)
  • Stable API with extensive documentation
  • Portable across Unix, Android, Amiga, and more
Cons
  • Not a standalone AI tool; it's a C library
  • Requires manual memory management in some cases
  • Limited to C programming language

Best For

Data interchange in C applicationsConfiguration file parsingWeb API response handlingJSON serialization and deserialization in embedded systems

FAQ

What is json-c?
json-c is a C library that implements a reference counting object model for JSON, allowing construction, parsing, and output of JSON data.
Is json-c compatible with RFC 8259?
Yes, json-c aims to conform to the JSON specification RFC 8259.
Where can I find the API documentation?
API documentation is available at http://json-c.github.io/json-c/.
How do I get help with json-c?
You can start a thread on the json-c forum at https://groups.google.com/forum/#!forum/json-c.