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

適用於