MvcJsonMvcCoreBuilderExtensions.AddJsonFormatters Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AddJsonFormatters(IMvcCoreBuilder) | |
AddJsonFormatters(IMvcCoreBuilder, Action<JsonSerializerSettings>) |
AddJsonFormatters(IMvcCoreBuilder)
public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddJsonFormatters (this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder);
static member AddJsonFormatters : Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder -> Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder
<Extension()>
Public Function AddJsonFormatters (builder As IMvcCoreBuilder) As IMvcCoreBuilder
Parameters
- builder
- IMvcCoreBuilder
Returns
Applies to
AddJsonFormatters(IMvcCoreBuilder, Action<JsonSerializerSettings>)
public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddJsonFormatters (this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder, Action<Newtonsoft.Json.JsonSerializerSettings> setupAction);
static member AddJsonFormatters : Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder * Action<Newtonsoft.Json.JsonSerializerSettings> -> Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder
<Extension()>
Public Function AddJsonFormatters (builder As IMvcCoreBuilder, setupAction As Action(Of JsonSerializerSettings)) As IMvcCoreBuilder
Parameters
- builder
- IMvcCoreBuilder
- setupAction
- Action<Newtonsoft.Json.JsonSerializerSettings>