DataContractJsonSerializer::ReadObject Method
Deserializes JSON (JavaScript Object Notation) data and returns the deserialized object.
Assembly: System.Runtime.Serialization (in System.Runtime.Serialization.dll)
| Name | Description | |
|---|---|---|
![]() | ReadObject(Stream^) | Reads a document stream in the JSON (JavaScript Object Notation) format and returns the deserialized object.(Overrides XmlObjectSerializer::ReadObject(Stream^).) |
![]() | ReadObject(XmlDictionaryReader^) | Reads the XML document mapped from JSON (JavaScript Object Notation) with an XmlDictionaryReader and returns the deserialized object.(Overrides XmlObjectSerializer::ReadObject(XmlDictionaryReader^).) |
![]() | ReadObject(XmlDictionaryReader^, Boolean) | Reads the XML document mapped from JSON with an XmlDictionaryReader and returns the deserialized object; it also enables you to specify whether the serializer should verify that it is positioned on an appropriate element before attempting to deserialize.(Overrides XmlObjectSerializer::ReadObject(XmlDictionaryReader^, Boolean).) |
![]() | ReadObject(XmlReader^) | Reads the XML document mapped from JSON (JavaScript Object Notation) with an XmlReader and returns the deserialized object.(Overrides XmlObjectSerializer::ReadObject(XmlReader^).) |
![]() | ReadObject(XmlReader^, Boolean) | Reads an XML document mapped from JSON with an XmlReader and returns the deserialized object; it also enables you to specify whether the serializer should verify that it is positioned on an appropriate element before attempting to deserialize.(Overrides XmlObjectSerializer::ReadObject(XmlReader^, Boolean).) |
Some of the overloads deal with XML data mapped from JSON instead of JSON data directly. These are intended for advanced scenarios only.
