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:
virtual JsonReader^ CreateJsonReader(
	Type^ type,
	Stream^ readStream,
	Encoding^ effectiveEncoding
) override

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: