json_dto
A small header-only library for converting data between json representation and c++ structs (by Stiffstream)
univalue
An easy-to-use and competitively fast JSON parsing library for C++17, forked from Bitcoin Cash Node's own UniValue library. (by cculianu)
json_dto | univalue | |
---|---|---|
2 | 5 | |
121 | 29 | |
2.5% | - | |
8.1 | 0.0 | |
3 months ago | over 2 years ago | |
C++ | C++ | |
BSD 3-clause "New" or "Revised" 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.
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_dto
Posts with mentions or reviews of json_dto.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-07-31.
-
What JSON library do you suggest?
json_dto on top of RapidJSON.
-
How to write and read JSON files with C++
I like json_dto
univalue
Posts with mentions or reviews of univalue.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-09-18.
-
What are some cool modern libraries you enjoy using?
nlohmann's json is ergonomic but is slow. I use this lib when I need speed.
-
Getting started with Boost in 2022
Not a huge fan of it. But it does the job. I prefer either the lib I maintain: UniValue or the ubiquitous nlohmann.
- What JSON library do you suggest?
-
UniValue JSON Library for C++17 (and above)
Ok, updated. I added some examples to the readme. https://github.com/cculianu/univalue
What are some alternatives?
When comparing json_dto and univalue you can also consider the following projects:
json - JSON for Modern C++
json_struct - json_struct is a single header only C++ library for parsing JSON directly to C++ structs and vice versa
RapidJSON - A fast JSON parser/generator for C++ with both SAX/DOM style API
JsonCpp - A C++ library for interacting with JSON.
nativejson-benchmark - C/C++ JSON parser/generator benchmark
json-parser - Very low footprint DOM-style JSON parser written in portable ANSI C
frozen - JSON parser and generator for C/C++ with scanf/printf like interface. Targeting embedded systems.
llfio - P1031 low level file i/o and filesystem library for the C++ standard
json11
daw_json_link - Fast, convenient JSON serialization and parsing in C++