SystemTextJsonOutputFormatter(JsonSerializerOptions) 构造函数

定义

初始化一个新 SystemTextJsonOutputFormatter 实例。

public:
 SystemTextJsonOutputFormatter(System::Text::Json::JsonSerializerOptions ^ jsonSerializerOptions);
public SystemTextJsonOutputFormatter (System.Text.Json.JsonSerializerOptions jsonSerializerOptions);
new Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatter : System.Text.Json.JsonSerializerOptions -> Microsoft.AspNetCore.Mvc.Formatters.SystemTextJsonOutputFormatter
Public Sub New (jsonSerializerOptions As JsonSerializerOptions)

参数

jsonSerializerOptions
JsonSerializerOptions

JsonSerializerOptions

适用于