Serialization is a standard process for converting an object into a sequence of bytes, which does not require a specific file format to follow.

Programming language supportEdit

.NET FrameworkEdit

In the .NET Framework, classes can be serialized and deserialized by marking it with the System.Serializable attribute. Fields of a serializable class can be excluded from serialization by marking it with the System.NonSerialized attribute. A field can be missing from a serialization stream when it is marked with the System.Runtime.Serialization.OptionalField attribute. Objects may be serialized and deserialized using binary, SOAP, or XML.


Java provides automatic serialization for class marked with the interface. The interface allows overriding of the serialization process.

This page uses CC-BY-SA content from Wikipedia (authors). Smallwikipedialogo.png