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.

JsonMediaTypeFormatter.CreateJsonReader Method (Type, Stream, Encoding)

 

Called during deserialization to get the JsonReader.

Namespace:   System.Net.Http.Formatting
Assembly:  System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)

public override JsonReader CreateJsonReader(
	Type type,
	Stream readStream,
	Encoding effectiveEncoding
)

Parameters

type
Type: System.Type

The type of the object to read.

readStream
Type: System.IO.Stream

The stream from which to read.

effectiveEncoding
Type: System.Text.Encoding

The encoding to use when reading.

Return Value

Type: Newtonsoft.Json.JsonReader

The reader to use during deserialization.

Return to top
Show: