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.

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 abstract JsonWriter CreateJsonWriter(
	Type type,
	Stream writeStream,
	Encoding effectiveEncoding
)

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: