Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
CppSerialization
Performance comparison of the most popular C++ serialization protocols such as Cap'n'Proto, FastBinaryEncoding, Flatbuffers, Protobuf, JSON
-
Construct
Construct: Declarative data structures for python that allow symmetric parsing and building
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
But you could also look into something like bitsery which seems to make it easier to choose how you encode certain fields, without schemas existing outside your code. https://github.com/fraillt/bitsery
This is the simplest serialization library I saw. You only need to add one method to your class and you can stream it to desired archive. It supports binary as well as json, XML and others. https://github.com/USCiLab/cereal
If schema based, then some of these are valid https://github.com/chronoxor/CppSerialization, or you could use something like cereal (as mentioned before)
I myself am looking for a binary serializer/deserializer that's like construct in python or construct-js, but obviously I wouldn't need some of the types that they have, since C++ already has them.
I myself am looking for a binary serializer/deserializer that's like construct in python or construct-js, but obviously I wouldn't need some of the types that they have, since C++ already has them.