SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 C++ Serialization Projects
-
Install the protoc compiler manually from here and add it to your PATH.
-
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.
-
FlatBuffers, also developed by Google, is a highly optimized serialization library designed for scenarios where zero-copy deserialization is required.
-
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
-
-
-
-
Nameof C++
Nameof operator for modern C++, simply obtain the name of a variable, type, function, macro, and enum
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
-
Project mention: Enum class improvements for C++17, C++20 and C++23 | news.ycombinator.com | 2024-08-04
-
-
-
-
-
-
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.
-
-
QxOrm
QxOrm library - C++ Qt ORM (Object Relational Mapping) and ODM (Object Document Mapper) library - Official repository
-
-
Project mention: Enum class improvements for C++17, C++20 and C++23 | news.ycombinator.com | 2024-08-04
https://github.com/beached/daw_json_link/blob/release/docs/c... :
include
-
json_struct
json_struct is a single header only C++ library for parsing JSON directly to C++ structs and vice versa
-
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).
-
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
-
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 -
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
C++ Serialization discussion
C++ Serialization related posts
-
Foundation DB Record Layer SQL API
-
Show HN: Hexi, modern header-only network binary serialisation for C++ hackers
-
Sign in as anyone: Bypassing SAML SSO authentication with parser differentials
-
JSON vs Protocol Buffers vs FlatBuffers: A Deep Dive
-
Achieving a 600% Performance Improvement in String-Literal Comparisons
-
Why should we use Protobuf in Web API as data transfer protocol.
-
Jsonifier, the Fastest and a New JSON Parsing/Serializing Library, in C++
-
A note from our sponsor - SaaSHub
www.saashub.com | 21 May 2025
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 |