DataContractJsonSerializer::ReadObject Method (XmlReader^)

 

Reads the XML document mapped from JSON (JavaScript Object Notation) with an XmlReader and returns the deserialized object.

Namespace:   System.Runtime.Serialization.Json
Assembly:  System.Runtime.Serialization (in System.Runtime.Serialization.dll)

public:
virtual Object^ ReadObject(
	XmlReader^ reader
) override

Parameters

reader
Type: System.Xml::XmlReader^

An XmlReader used to read the XML document mapped from JSON.

Return Value

Type: System::Object^

The deserialized object.

.NET Framework
Available since 3.5
Return to top
Show: