the.com/serialization
turning a living object into a flat string of bytes so it can survive being sent somewhere else.
means the process of converting an in-memory data structure into a format like json or bytes that can be stored or transmitted, then reconstructed later.
from from latin series, meaning a chain or sequence; computing borrowed it for turning structured data into a linear sequence of bits.
reverse processdeserialization rebuilds the original object from bytes
common formatsjson, xml, protobuf, pickle, messagepack
security riskdeserializing untrusted data can execute malicious code
performance tradeoffbinary formats faster, text formats more readable