NewtonsoftJsonMvcCoreBuilderExtensions.AddNewtonsoftJson Method

Definition

Overloads

AddNewtonsoftJson(IMvcCoreBuilder)

Configures Newtonsoft.Json specific features such as input and output formatters.

AddNewtonsoftJson(IMvcCoreBuilder, Action<MvcNewtonsoftJsonOptions>)

Configures Newtonsoft.Json specific features such as input and output formatters.

AddNewtonsoftJson(IMvcCoreBuilder)

Source:
NewtonsoftJsonMvcCoreBuilderExtensions.cs
Source:
NewtonsoftJsonMvcCoreBuilderExtensions.cs
Source:
NewtonsoftJsonMvcCoreBuilderExtensions.cs
Source:
NewtonsoftJsonMvcCoreBuilderExtensions.cs
Source:
NewtonsoftJsonMvcCoreBuilderExtensions.cs
Source:
NewtonsoftJsonMvcCoreBuilderExtensions.cs
Source:
NewtonsoftJsonMvcCoreBuilderExtensions.cs

Configures Newtonsoft.Json specific features such as input and output formatters.

public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddNewtonsoftJson (this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder);
static member AddNewtonsoftJson : Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder -> Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder
<Extension()>
Public Function AddNewtonsoftJson (builder As IMvcCoreBuilder) As IMvcCoreBuilder

Parameters

Returns

The IMvcCoreBuilder.

Applies to

AddNewtonsoftJson(IMvcCoreBuilder, Action<MvcNewtonsoftJsonOptions>)

Source:
NewtonsoftJsonMvcCoreBuilderExtensions.cs
Source:
NewtonsoftJsonMvcCoreBuilderExtensions.cs
Source:
NewtonsoftJsonMvcCoreBuilderExtensions.cs
Source:
NewtonsoftJsonMvcCoreBuilderExtensions.cs
Source:
NewtonsoftJsonMvcCoreBuilderExtensions.cs
Source:
NewtonsoftJsonMvcCoreBuilderExtensions.cs
Source:
NewtonsoftJsonMvcCoreBuilderExtensions.cs

Configures Newtonsoft.Json specific features such as input and output formatters.

public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddNewtonsoftJson (this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder, Action<Microsoft.AspNetCore.Mvc.MvcNewtonsoftJsonOptions> setupAction);
static member AddNewtonsoftJson : Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder * Action<Microsoft.AspNetCore.Mvc.MvcNewtonsoftJsonOptions> -> Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder
<Extension()>
Public Function AddNewtonsoftJson (builder As IMvcCoreBuilder, setupAction As Action(Of MvcNewtonsoftJsonOptions)) As IMvcCoreBuilder

Parameters

setupAction
Action<MvcNewtonsoftJsonOptions>

Callback to configure MvcNewtonsoftJsonOptions.

Returns

The IMvcCoreBuilder.

Applies to