JsonOutputFormatter.CreateJsonWriter(TextWriter) 方法

定义

在序列化过程中调用,以创建 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

参数

writer
TextWriter

TextWriter用于写入的。

返回

Newtonsoft.Json.JsonWriter

Newtonsoft.Json.JsonWriter 序列化过程中使用的。

适用于