json-c VS cJSON

Compare json-c vs cJSON and see what are their differences.

json-c

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/ (by json-c)

cJSON

Ultralightweight JSON parser in ANSI C (by DaveGamble)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
json-c cJSON
18 15
2,863 10,015
0.9% -
7.1 4.5
7 days ago 29 days ago
C C
GNU General Public License v3.0 or later MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

json-c

Posts with mentions or reviews of json-c. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-03.

cJSON

Posts with mentions or reviews of cJSON. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-11-24.

What are some alternatives?

When comparing json-c and cJSON you can also consider the following projects:

Jansson - C library for encoding, decoding and manipulating JSON data

JsonCpp - A C++ library for interacting with JSON.

ArduinoJson - 📟 JSON library for Arduino and embedded C++. Simple and efficient.

JSMN - Jsmn is a world fastest JSON parser/tokenizer. This is the official repo replacing the old one at Bitbucket

json - JSON for Modern C++

RapidJSON - A fast JSON parser/generator for C++ with both SAX/DOM style API

libjson - a JSON parser and printer library in C. easy to integrate with any model.

yyjson - The fastest JSON library in C