serializations
Serialization is the process of converting an in-memory data structure or object into a format that can be stored on disk, transmitted over a network, or otherwise persisted. Deserialization is the reverse operation. Formats are broadly categorized as text-based or binary. Text-based formats such as JSON, XML, and YAML are human-readable, while binary formats such as Protocol Buffers, Avro, Thrift, and MessagePack emphasize compactness and speed and often rely on a predefined schema.
Some formats are self-describing, meaning the data includes enough information to interpret its structure (as JSON
Serialization is used for data persistence, inter-process communication, remote procedure calls, caching, and messaging. Designers must
Common terms include marshal/unmarshal, pickling in Python, and Java's built-in serialization. Developers may choose streaming serializers