serielisering
Serielisering, or serialization in English, is the process of converting an object, data structure, or program state into a format that can be stored or transmitted and later reconstructed. The reverse operation is deserialisering (deserialization). Serialization enables persistence, inter-process communication, network transmission, and caching. The resulting format may be text-based, such as JSON, XML, or YAML, or binary, such as Protocol Buffers, Avro, Thrift, Cap'n Proto, or MessagePack. Binary formats are typically more compact and faster to parse, while text formats are human-readable and easier to inspect.
Serialization frameworks differ in how they handle object graphs. Some preserve references and support cyclic graphs;
Security is a concern: deserializing data from untrusted sources can lead to code execution or data corruption
Common use cases include storing application state to disk, sending messages between services, performing remote procedure