C++ Serialization

Open-source C++ projects categorized as Serialization

Top 23 C++ Serialization Projects

Serialization
  1. Protobuf

    Protocol Buffers - Google's data interchange format

    Project mention: Getting Started With gRPC in Golang | dev.to | 2025-04-03

    Install the protoc compiler manually from here and add it to your PATH.

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. FlatBuffers

    FlatBuffers: Memory Efficient Serialization Library

    Project mention: JSON vs Protocol Buffers vs FlatBuffers: A Deep Dive | dev.to | 2025-03-06

    FlatBuffers, also developed by Google, is a highly optimized serialization library designed for scenarios where zero-copy deserialization is required.

  4. Magic Enum C++

    Static reflection for enums (to string, from string, iteration) for modern C++, work with any enum type without any macro or boilerplate code

  5. cereal

    A C++11 library for serialization

  6. rttr

    C++ Reflection Library

  7. protobuf-c

    Protocol Buffers implementation in C

  8. Nameof C++

    Nameof operator for modern C++, simply obtain the name of a variable, type, function, macro, and enum

  9. SaaSHub

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

    SaaSHub logo
  10. cista

    Cista is a simple, high-performance, zero-copy C++ serialization & reflection library.

  11. glaze

    Extremely fast, in memory, JSON and interface library for modern C++

    Project mention: Enum class improvements for C++17, C++20 and C++23 | news.ycombinator.com | 2024-08-04
  12. Bitsery

    Your binary serialization library

  13. zpp_bits

    A lightweight C++20 serialization and RPC library

  14. yas

    Yet Another Serialization (by niXman)

  15. smf

    Fastest RPC in the west

  16. The IOD Library

    Meta programming utilities for C++14. Merged in matt-42/lithium

  17. cppcodec

    Header-only C++11 library to encode/decode base64, base64url, base32, base32hex and hex (a.k.a. base16) as specified in RFC 4648, plus Crockford's base32. MIT licensed with consistent, flexible API.

  18. rapidyaml

    Rapid YAML - a library to parse and emit YAML, and do it fast.

  19. QxOrm

    QxOrm library - C++ Qt ORM (Object Relational Mapping) and ODM (Object Document Mapper) library - Official repository

  20. python-rapidjson

    Python wrapper around rapidjson

  21. json_struct

    json_struct is a single header only C++ library for parsing JSON directly to C++ structs and vice versa

  22. velocypack

    A fast and compact format for serialization and storage

    Project mention: Demonstrating ArangoDB VelocyPack: A High-Performance Binary Data Format | dev.to | 2024-05-31

    VelocyPack is a compact, fast, and efficient binary data format developed by ArangoDB. It is designed to serialize and deserialize data quickly, minimizing the overhead associated with data storage and transmission. VelocyPack is similar to JSON in its capability to represent complex data structures, but it surpasses JSON in performance due to its binary nature (ArangoDB, 2022).

  23. protozero

    Minimalist protocol buffer decoder and encoder in C++

    Project mention: The Two Factions of C++ | news.ycombinator.com | 2024-11-24

    Protobuf depending on Abseil (which has ongoing macOS build issues) is clinically insane. I tend to use protozero now which trades half a day’s boilerplate for two days’ build heartache.

    https://github.com/mapbox/protozero

  24. Hexi

    Header-only, lightweight C++ library for binary streaming & serialization. Network data handling made easy peasy!

    Project mention: Show HN: Hexi, modern header-only network binary serialisation for C++ hackers | news.ycombinator.com | 2025-03-28
  25. SaaSHub

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

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

C++ Serialization discussion

Log in or Post with

C++ Serialization related posts

  • Foundation DB Record Layer SQL API

    7 projects | news.ycombinator.com | 7 May 2025
  • Show HN: Hexi, modern header-only network binary serialisation for C++ hackers

    3 projects | news.ycombinator.com | 28 Mar 2025
  • Sign in as anyone: Bypassing SAML SSO authentication with parser differentials

    3 projects | news.ycombinator.com | 15 Mar 2025
  • JSON vs Protocol Buffers vs FlatBuffers: A Deep Dive

    3 projects | dev.to | 6 Mar 2025
  • Achieving a 600% Performance Improvement in String-Literal Comparisons

    1 project | news.ycombinator.com | 18 Feb 2025
  • Why should we use Protobuf in Web API as data transfer protocol.

    2 projects | dev.to | 28 Aug 2024
  • Jsonifier, the Fastest and a New JSON Parsing/Serializing Library, in C++

    2 projects | news.ycombinator.com | 28 Aug 2024
  • A note from our sponsor - SaaSHub
    www.saashub.com | 21 May 2025
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

What are some of the best open-source Serialization projects in C++? This list will help you:

# Project Stars
1 Protobuf 67,541
2 FlatBuffers 24,190
3 Magic Enum C++ 5,411
4 cereal 4,421
5 rttr 3,298
6 protobuf-c 2,797
7 Nameof C++ 2,188
8 cista 2,011
9 glaze 1,839
10 Bitsery 1,153
11 zpp_bits 848
12 yas 759
13 smf 730
14 The IOD Library 725
15 cppcodec 639
16 rapidyaml 637
17 QxOrm 531
18 python-rapidjson 514
19 daw_json_link 489
20 json_struct 441
21 velocypack 424
22 protozero 327
23 Hexi 279

Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com