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
        <pre><code class="lang-csharp">new List<MediaTypeHeaderValue>()

{ new("application/json"), new("text/json") };

    </td></tr></tbody></table>