Serialisation
Serialisation is the process of converting a data structure or object into a format that can be stored or transmitted and then reconstructed later. The inverse operation is deserialisation, sometimes called deserializing or unmarshalling. Serialisation supports persistence and communication across program boundaries, languages, and systems.
Serialised data can be stored as binary or text. Text formats include JSON, XML, YAML, and CSV;
Serialisation is used for persistence (saving state to disk or a database), inter‑process communication, remote procedure
Common challenges include maintaining compatibility across versions, handling complex object graphs with cycles or shared references,
Best practices include using explicit, evolving schemas; including version information; choosing stable formats appropriate to the