Is there any good binary serializer & deserializer for C / C++?

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

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
  • Kaitai Struct

    Kaitai Struct: declarative language to generate binary data parsers in C++ / C# / Go / Java / JavaScript / Lua / Nim / Perl / PHP / Python / Ruby

  • I'm aware there is Kaitai Struct which can handle binary parsing (deserializing). And I have some success previously with python Construct which can do both serialize & deserialize, but it's written in python.

  • cereal

    A C++11 library for serialization

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

    Your binary serialization library

  • reflecxx

    A static reflection framework for C++, using libclang.

  • I have a library and tooling that using code generation will allow you to automatically generate serialization/deserialization to your custom binary format. It uses the visitor pattern and code generation for static reflection (eg iterating over fields of a struct). Check it out at https://github.com/jimmyorourke/reflecxx. Particularly it includes an automatic to/from json, which you could use as a starting point for how to write your own visitor.

  • binary_io

    A binary i/o library for C++, without the agonizing pain

  • I wrote a library called binary_io, specifically for handling bespoke binary formats

  • 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

  • Ser20, a C++20 fork of cereal

    3 projects | /r/cpp | 19 Dec 2022
  • Added reflection to C++ just to make my game work.

    2 projects | /r/gamedev | 27 Oct 2022
  • what annoys you most while using c++?

    5 projects | /r/cpp | 28 Aug 2022
  • Cereal Pack - a C++ schema serialization library

    4 projects | /r/cpp | 24 Jun 2022
  • Is there something like GSON available in C++?

    3 projects | /r/cpp | 20 May 2022