Skip to main content

Serialization

Serialization

The need for speed — Experimenting with message serialization

MessagePack, Json, Protobuf

In computing, serialization is the process of translating a data structure or object into a format that can be stored(for example, in a file or memory buffer) or transmitted(for example, over a computer network) and reconstructed later (possibly in a different computer environment).

Json

MessagePack

msgpack GitHub

Protocol Buffers

Protocol Buffers

Supported Features

ProtocolDiscriminator Property & Polymorphism
Json✔️
MessagePack✔️
Protobuf✖️