Produces 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 produces instances of XmlDictionaryWriter that can map an XML Infoset to JSON and write JSON-encoded data to a stream.
Namespace:
System.Runtime.Serialization.Json
Assembly:
System.Runtime.Serialization.Json (in System.Runtime.Serialization.Json.dll)
Visual Basic (Declaration)
Public NotInheritable Class JsonReaderWriterFactory
You do not need to declare an instance of a static class in order to access its members.
public static class JsonReaderWriterFactory
Silverlight version 3 processes JSON messages using a mapping between JSON data and the XML Infoset. Normally, this mapping is hidden from view. However, in some advanced scenarios it might be necessary to manually convert between JSON and XML. In this case, the JsonReaderWriterFactory class can be used to create the necessary XML readers and writers. Note that not every XML Infoset element can be mapped to JSON.
For more information about
mapping, see Mapping between JSON and XML.
System..::.Object
System.Runtime.Serialization.Json..::.JsonReaderWriterFactory
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
Reference