This documentation is archived and is not being maintained.

System.Runtime.Serialization.Json Namespace

The System.Runtime.Serialization namespace contains classes that can be used for serializing objects to JavaScript Object Notation (JSON) and deserializing objects from JSON.

Serialization is the process of converting an object or a graph of objects into a linear sequence of bytes for either storage or transmission to another location. Deserialization is the process of taking in stored information and recreating objects from it.

Public classDataContractJsonSerializerSerializes objects to the JavaScript Object Notation (JSON) and deserializes JSON data to objects. This class cannot be inherited.
Public classJsonReaderWriterFactoryProduces instances of XmlDictionaryReader that can read data encoded with JavaScript Object Notation (JSON) from a stream or buffer and map it to an XML Infoset and instances of XmlDictionaryWriter that can map an XML Infoset to JSON and write JSON-encoded data to a stream.

Public interfaceIXmlJsonReaderInitializerSpecifies the interface for initializing a JavaScript Object Notation (JSON) reader when reusing them to read from a particular stream or buffer.
Public interfaceIXmlJsonWriterInitializerSpecifies the interface for initializing a JavaScript Object Notation (JSON) writer when reusing them to write to a particular output stream.