MessagePack alternatives and similar libraries
Based on the "Serialization" category.
Alternatively, view MessagePack alternatives based on common mentions on social networks and blogs.
-
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 -
Bond
DISCONTINUED. Bond was a cross-platform framework for working with schematized data. The open-source project ended on March 31, 2025. -
Nameof C++
Nameof operator for modern C++, simply obtain the name of a variable, type, function, macro, and enum -
Simple C++ Serialization & Reflection.
Cista is a simple, high-performance, zero-copy C++ serialization & reflection library. -
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.
InfluxDB high-performance time series database

* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of MessagePack or a related project?
README
msgpack
for C/C++
It's like JSON but smaller and faster.
Overview
MessagePack is an efficient binary serialization format, which lets you exchange data among multiple languages like JSON, except that it's faster and smaller. Small integers are encoded into a single byte and short strings require only one extra byte in addition to the strings themselves.
C Library
See c_master
C++ Library
See cpp_master
Documentation
You can get additional information including the tutorial on the wiki.
Contributing
msgpack-c
is developed on GitHub at msgpack/msgpack-c.
To report an issue or send a pull request, use the
issue tracker.
Here's the list of great contributors.
License
msgpack-c
is licensed under the Boost Software License, Version 1.0. See
the [LICENSE_1_0.txt
](./LICENSE_1_0.txt) file for details.
*Note that all licence references and agreements mentioned in the MessagePack README section above
are relevant to that project's source code only.