BaseJsonMediaTypeFormatter::CreateJsonWriter Method (Type^, Stream^, Encoding^)

 

Called during serialization to get the JsonWriter.

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

public:
virtual JsonWriter^ CreateJsonWriter(
	Type^ type,
	Stream^ writeStream,
	Encoding^ effectiveEncoding
) abstract

Parameters

type
Type: System::Type^

The type of the object to write.

writeStream
Type: System.IO::Stream^

The stream to write to.

effectiveEncoding
Type: System.Text::Encoding^

The encoding to use when writing.

Return Value

Type: Newtonsoft.Json::JsonWriter^

The writer to use during serialization.

Return to top
Show: