Serialization
Also called: serialisation, deserialization, encoding
Serialization turns structured data into a representation that can be stored or transmitted. Deserialization interprets that representation on the other side. A format such as JSON specifies how values are written; a protocol must additionally define what the fields mean and which messages are allowed.
For example, an application might encode a temperature reading as {"celsius":21} using UTF-8 JSON. The receiver still needs the agreement that this number is a temperature in Celsius. Serialization is neither encryption nor message framing, and converting an object to JSON does not automatically preserve every programming-language type.
- Read first
- Protocol