json.h VS cJSON

Compare json.h vs cJSON and see what are their differences.

json.h

🗄️ single header json parser for C and C++ (by sheredom)

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.h cJSON
- 15
664 10,015
- -
2.9 4.5
3 months ago 27 days ago
C C
The Unlicense 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.h

Posts with mentions or reviews of json.h. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning json.h yet.
Tracking mentions began in Dec 2020.

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.h and cJSON you can also consider the following projects:

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/

json - JSON for Modern C++

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

frozen - JSON parser and generator for C/C++ with scanf/printf like interface. Targeting embedded systems.

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

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

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

JSON++ - A JSON parser in C++