Udostępnij za pośrednictwem


SystemTextJsonOutputFormatter(JsonSerializerOptions) Konstruktor

Definicja

Inicjuje nowe SystemTextJsonOutputFormatter wystąpienie.

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)

Parametry

jsonSerializerOptions
JsonSerializerOptions

Element JsonSerializerOptions.

Dotyczy