json VS yaml-cpp

Compare json vs yaml-cpp and see what are their differences.

json

A tested JSON parser / serializer (by Jacob-C-Smith)

yaml-cpp

A YAML parser and emitter in C++ (by jbeder)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
json yaml-cpp
1 12
3 4,788
- -
7.7 7.1
18 days ago 16 days ago
C C++
MIT 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.

json

Posts with mentions or reviews of json. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-12-26.
  • how to build a JSON parser?
    4 projects | /r/C_Programming | 26 Dec 2021
    I wrote a small parser in around 200 lines of C. It doesn’t work on arrays of arrays, but everything else is fair game and works fine. https://github.com/Jacob-C-Smith/GXJSON

yaml-cpp

Posts with mentions or reviews of yaml-cpp. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-02-05.

What are some alternatives?

When comparing json and yaml-cpp you can also consider the following projects:

edn - Extensible Data Notation

Boost.PropertyTree - Boost.org property_tree module

ujson

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

Protobuf - Protocol Buffers - Google's data interchange format

json - JSON for Modern C++

ui - Callback driven user interface library written with SDL2

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

jq - Command-line JSON processor [Moved to: https://github.com/jqlang/jq]

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

simdjson - Parsing gigabytes of JSON per second : used by Facebook/Meta Velox, the Node.js runtime, ClickHouse, WatermelonDB, Apache Doris, Milvus, StarRocks

JSON++ - A JSON parser in C++