Serialization
Description
Serialization is the move of turning a working thing into a portable, inert encoding so it can be stored or shipped, then later turned back into a working thing. The defining triad is active → inert → active: the middle form does nothing on its own — that inertness is exactly what lets it sit on a disk or cross a wire — and a reconstitution step revives it. In software, an in-memory object graph is serialized to a byte stream and deserialized back into a live object, possibly in another process or machine. The same shape recurs far from CS: a musical score serializes a performance (the score is inert; performing it deserializes); writing serializes speech or thought (reading deserializes); a blueprint serializes a design (building deserializes). The home-domain term-of-art is marshalling when the gap is a network boundary specifically. The load-bearing claim — and the reason this is a distinct primitive rather than a synonym forisomorphism — is the active/inert distinction plus the store-and-reconstitute gap. An isomorphism maps one live structure to another live structure; serialization deliberately routes through a non-executable intermediate and inserts a time-or-space gap during which only the inert form exists. That gap is the whole point: it is what storage and transmission are.
Triggers
User-initiated: User describes capturing a live thing into a storable/shippable form and rebuilding it later. Vocabulary cues: “serialize,” “deserialize,” “marshalling,” “wire format,” “snapshot and restore,” “dehydrate/rehydrate,” “save and reload,” “notation and performance.” Agent-initiated: Agent notices a working form being reduced to a portable encoding to cross time or space, with a reconstitution step on the far side. Candidate inference: name the active form, the inert form, and confirm the deserialize path actually recovers a working form (not a lossy one-way capture). Situation-shape signals: Persistence and transport boundaries; save/load; the score-to-performance or blueprint-to-building relation; any place a representation stands in for an executable original across a gap.Exclusions
- Structure-preserving maps with no inert phase — an
isomorphismrelates two equally-active forms; serialization adds the active↔inert↔active round-trip. - Runtime interface translation — an
adapterbridges two co-present live interfaces; serialization is store-now-revive-later, with the active form absent while the inert form travels. - One-way capture with no reconstitution — a photo or lossy summary is inert and portable but can’t be rebuilt into the working original; without a deserialization path the primitive doesn’t fire.
- Encoding of something that was never active — re-encoding already-inert data (transcode, charset conversion) is plain encoding; serialization needs an executable form on at least one end.
Structure
Relationships
- isomorphism — the structure-preserving correspondence, routed here through an inert intermediate plus a store/transmit gap.
- adapter — bridges two co-present live interfaces; serialization bridges a form to itself across time/space via an inert carrier.
- seam — serialization lives at the boundary between a native format and a foreign storage/wire format; deserialization bugs cluster there.
- error-correction — the inert form crosses an unreliable gap, so robust serialization pairs with redundancy and integrity checks.
Examples
ISO/IEC 23271:2012 (Common Language Infrastructure) — defines serialization as "the process of converting an object or a graph of objects into a linear sequence of bytes." · computer-science
ISO/IEC 23271:2012 (Common Language Infrastructure) — defines serialization as "the process of converting an object or a graph of objects into a linear sequence of bytes." · computer-science
isomorphism-flavored duplication, not serialization, because it skips the inert-and-portable phase that defines the primitive.Francis Crick, "Central Dogma of Molecular Biology" (Nature 227, 1970), building on Crick, "On Protein Synthesis" (Symp. Soc. Exp. Biol. XII, 1958). · biology
Francis Crick, "Central Dogma of Molecular Biology" (Nature 227, 1970), building on Crick, "On Protein Synthesis" (Symp. Soc. Exp. Biol. XII, 1958). · biology
Nelson Goodman, "Languages of Art: An Approach to a Theory of Symbols" (Bobbs-Merrill, 1968) — the analysis of musical notation as a notational scheme that fixes the identity of a work across performances. · performing-arts
Nelson Goodman, "Languages of Art: An Approach to a Theory of Symbols" (Bobbs-Merrill, 1968) — the analysis of musical notation as a notational scheme that fixes the identity of a work across performances. · performing-arts