YAJL VS cJSON

Compare YAJL vs cJSON and see what are their differences.

YAJL

A fast streaming JSON parsing library in C. (by lloyd)

cJSON

Ultralightweight JSON parser in ANSI C (by DaveGamble)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
YAJL cJSON
3 15
2,134 10,015
- -
0.0 4.5
22 days ago 28 days ago
C C
ISC License 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.

YAJL

Posts with mentions or reviews of YAJL. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-06-06.
  • How to install i3-gaps on slackware 15.0.
    1 project | /r/slackware | 3 Mar 2022
    'git clone https://github.com/lloyd/yajl.git'
  • HN “Why Not Simply”
    2 projects | news.ycombinator.com | 6 Jun 2021
    why not simpler HN search

    text-only, no Javascript required, no SNI, unnecessary HTTP headers, DNS, etc.

    json_reformat is from https://github.com/lloyd/yajl/

    example usage: 1.sh|json_reformat|sed 's/ *//;s/\\n/ /g'|less

        stunnel -fd 0 <
  • Y Combinator kicks out Paul Biggar over a tweet
    1 project | news.ycombinator.com | 4 Jun 2021
    Interesting. I can still see these "deleted" tweets when I retrieve them from the command line. I do not like using Twitter's GUI, especially the way it uses Javascript, so I wrote a quick shell script to retrieve tweets without using a graphical web browser.

    https://news.ycombinator.com/item?id=27056734

    To read the JSON, I have playing around with json_reformat from https://github.com/lloyd/yajl

      1.sh > 1.json

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

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

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/

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

ujson

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

json - JSON for Modern C++

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.