Table of Contents

JsonFormatterOptions Constructor

Definition

JsonFormatterOptions()

Initializes a new instance of the JsonFormatterOptions class.

public JsonFormatterOptions()

Remarks

The following table shows the initial property values for an instance of JsonFormatterOptions.

PropertyInitial Value
SettingsJsonSerializerOptions
SensitivityDetailsNone
SupportedMediaTypes
new List<MediaTypeHeaderValue>()
{
    new("application/json"),
    new("text/json")
};