DataContractJsonSerializer.ReadObject Method (Stream)

 

Reads a document stream in the JSON (JavaScript Object Notation) format and returns the deserialized object.

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

public override object ReadObject(
	Stream stream
)

Parameters

stream
Type: System.IO.Stream

The Stream to be read.

Return Value

Type: System.Object

The deserialized object.

Universal Windows Platform
Available since 8
.NET Framework
Available since 3.5
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top
Show: