easy Serialization library ?

This page summarizes the projects mentioned and recommended in the original post on /r/cpp

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.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • ttauri

    Discontinued Modern accelerated GUI [Moved to: https://github.com/hikogui/hikogui]

  • 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

  • Protobuf

    Protocol Buffers - Google's data interchange format

  • 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.

    InfluxDB logo
  • 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.

  • json

    JSON for Modern C++

  • 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.

  • serializer

    A single header standard C++ serialization framework. (by eyalz800)

  • json_test_data

    Test data for nlohmann/json

  • They are in this repo: https://github.com/nlohmann/json_test_data

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • The state of Java Object Serialization libraries in Q2 2023

    5 projects | /r/java | 7 Apr 2023
  • Why is json logging the “standard”?

    2 projects | /r/golang | 10 Mar 2023
  • How can we umarshal a Big JSON effectively?

    4 projects | /r/golang | 16 Nov 2022
  • C++ serialize and deserialize adaptor library like rust serde.rs

    1 project | news.ycombinator.com | 31 Aug 2022
  • DAW JSON Link v3, a JSON serialization/deserialization library, is released

    10 projects | /r/cpp | 1 Jul 2022