Share via


JsonOutputFormatter.CreateJsonWriter(TextWriter) Method

Definition

Called during serialization to create the Newtonsoft.Json.JsonWriter.

protected:
 virtual Newtonsoft::Json::JsonWriter ^ CreateJsonWriter(System::IO::TextWriter ^ writer);
protected virtual Newtonsoft.Json.JsonWriter CreateJsonWriter (System.IO.TextWriter writer);
abstract member CreateJsonWriter : System.IO.TextWriter -> Newtonsoft.Json.JsonWriter
override this.CreateJsonWriter : System.IO.TextWriter -> Newtonsoft.Json.JsonWriter
Protected Overridable Function CreateJsonWriter (writer As TextWriter) As JsonWriter

Parameters

writer
TextWriter

The TextWriter used to write.

Returns

Newtonsoft.Json.JsonWriter

The Newtonsoft.Json.JsonWriter used during serialization.

Applies to