Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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 override object ReadObject(
	XmlReader reader
)

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: