
-
I have another format for you, although probably no one but me has implemented it yet. https://github.com/ttauri-project/ttauri/blob/main/docs/BON8.md
-
Nutrient
Nutrient - The #1 PDF SDK Library. Bad PDFs = bad UX. Slow load times, broken annotations, clunky UX frustrates users. Nutrient’s PDF SDKs gives seamless document experiences, fast rendering, annotations, real-time collaboration, 100+ features. Used by 10K+ devs, serving ~half a billion users worldwide. Explore the SDK for free.
-
-
For something like JSON I would recommend, I am biased :), DAW JSON Link. It will let you declaratively map your data structures and give great performance. The mappings are not intrusive, so the code can site in it’s own TU and out of the way until you need to serialize/deserialize. It will parse directly to your DS without an intermediary.
-
cpp-serializers
Benchmark comparing various data serialization libraries (thrift, protobuf etc.) for C++
The optimizer can make boost::serialization run at the top speed with binary encoding while sacrificing portability. Here is a benchmark with it being twice as fast as ProtoBuf: https://github.com/thekvs/cpp-serializers. Do you have any benchmarks showing otherwise? I did my own tests about 2-3 years ago.
-
You could use nlohmann/json for this which allows a simple mechanism to serialize/deserialize arbitrary types. If JSON is too verbose of a format, the library also supports binary formats such as CBOR, MessagePack, UBJSON or BSON.
-
-
They are in this repo: https://github.com/nlohmann/json_test_data
-
CodeRabbit
CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.