Table of Contents

NewtonsoftJsonFormatterOptions Constructor

Definition

NewtonsoftJsonFormatterOptions()

Initializes a new instance of the NewtonsoftJsonFormatterOptions class.

public NewtonsoftJsonFormatterOptions()

Remarks

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

PropertyInitial Value
SettingsNewtonsoft.Json.JsonSerializerSettings
SynchronizeWithJsonConvertfalse
SensitivityDetailsNone
SupportedMediaTypes
        <pre><code class="lang-csharp">new List<MediaTypeHeaderValue>()

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

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