[Home]Serialization

HomePage | Recent Changes | Preferences

In computer programming, serialization means to render an instance of an abstract data type into a byte stream. Typically, this format is used for persistent storage, or for transmission to another program across a network. The serialized data is parsed by the receiving program to reconstruct an in-memory copy of the data.

Serialization breaks the opacity ideal of an abstract data type by potentially exposing private implementation details. For this reason and for other reasons, publishers of [proprietary software]? often keep the details of their programs' serialization formats a trade secret.

On the other hand, interoperability requires that applications be able to understand each other's serializations for a given object. For this reason, remote method call architectures such as the CORBA? architecture define their serialization formats in detail and often provide methods of checking the consistency of any serialized stream when converting it back into an object.

Starting in the late 1990s, the XML standard has become a popular and widely supported means of data serialization into text. Because of its flexible syntax, XML can represent a wide variety of data structures.


In publishing, serialization is publication in serial form. See [serial publication]?.

HomePage | Recent Changes | Preferences
This page is read-only | View other revisions
Last edited October 16, 2001 8:39 am by Larry Sanger (diff)
Search: