daw_json_link_describe
Library that allows JSON Link to serialize types mapped by boost.describe (by beached)
RapidJSON
A fast JSON parser/generator for C++ with both SAX/DOM style API (by Tencent)
daw_json_link_describe | RapidJSON | |
---|---|---|
2 | 15 | |
4 | 13,881 | |
- | 0.4% | |
1.8 | 5.9 | |
almost 2 years ago | 7 days ago | |
C++ | C++ | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
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.
daw_json_link_describe
Posts with mentions or reviews of daw_json_link_describe.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-08-12.
-
Show HN: DAW JSON Link
An accompanying project https://github.com/beached/daw_json_link_describe that allows using Boost.Describe reflection like mappings with JSON Link
-
DAW JSON Link v3, a JSON serialization/deserialization library, is released
In this regard, I really like how daw_json_link works: it directly converts the JSON string into/from your custom C++ data type, without needing to have an intermediate DOM representation (but you can do so as well if you really want). The interface for defining the JSON serialization/deserialization for your data type is non-intrusive, which is another plus point. Due to lack of reflection in C++ it still requires some boilerplate, but personally I think it is better than other options I tried in terms of convenience. Furthermore, it is possible to reduce this amount of boilerplate into minimum with the aid of Boost.Describe.
RapidJSON
Posts with mentions or reviews of RapidJSON.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-19.
-
Has anyone embedded a web-UI into a C++ project?
Here's what I did: - I bought a theme that I liked, and used mstch as template engine (matched the theme's template format) - Imported rapidjson for parsing JSON, and used mstch for generating JSON (the JSON I generate is simple enough that I can do this) - Wrote an HTTP handler class for each page that handles the GET and POST requests, generating HTML or JSON depending on the request
-
Is there a good cross-platform (Windows / Linux) C or C++ library for file I/O?
And documentation in most cases is more user-friendly if you will use something like MkDocs(based on Markdown), example http://rapidjson.org/
- What is the best way to store multiple objects of a class as data in C++?
-
How to deserialise json into a C++ struct?
Use RapidJSON https://rapidjson.org/
-
DAW JSON Link v3, a JSON serialization/deserialization library, is released
It seems not super widely used compared to other famous libraries like RapidJSON, nlohmann-json, or simdjson. But it seems the author is very active in developing this project which can mitigate this "lack of community" issue.
-
Is cpp a good language for reading and writing large quantities of JSON files as quickly as possible?
have a look at rapidjson for a a nice simple json framework https://rapidjson.org/ I use it and it's quite fast and as good as anything I used in python.
-
What JSON library do you suggest?
So I just cloned https://github.com/Tencent/rapidjson to see what is the current status. At compile time they check if the C++ compiler supports the "noexcept" keyword, and if so they define RAPIDJSON_NOEXCEPT to be "noexcept". Throughout the implementation, RAPIDJSON_NOEXCEPT is added to quite a few function declarations (about a hundred of them).
- Storing data to be used in simulations.
-
How and where I can learn about Web sockets, APIs, Wrappers to connect with my C++ code?
RapidJSON is also excellent, like fantastic when performance matters. Not sure there's a much faster JSON implementation anywhere, and I've written my own SAX-style parser as a fun, hobby project for C++.
- Can anyone point me to an open-source project that correctly uses allocators?
What are some alternatives?
When comparing daw_json_link_describe and RapidJSON you can also consider the following projects:
daw_json_link - Fast, convenient JSON serialization and parsing in C++
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 - JSON for Modern C++
cpr - C++ Requests: Curl for People, a spiritual port of Python Requests.
cJSON - Ultralightweight JSON parser in ANSI C
spdlog - Fast C++ logging library.
Boost.PropertyTree - Boost.org property_tree module
nativejson-benchmark - C/C++ JSON parser/generator benchmark
Jansson - C library for encoding, decoding and manipulating JSON data
daw_json_link_describe vs daw_json_link
RapidJSON vs JsonCpp
daw_json_link_describe vs simdjson
RapidJSON vs json
daw_json_link_describe vs json
RapidJSON vs simdjson
daw_json_link_describe vs cpr
RapidJSON vs cJSON
daw_json_link_describe vs spdlog
RapidJSON vs Boost.PropertyTree
daw_json_link_describe vs nativejson-benchmark
RapidJSON vs Jansson