Share via


NewtonsoftJsonValidationMetadataProvider Constructors

Definition

Overloads

NewtonsoftJsonValidationMetadataProvider()

Creates a new NewtonsoftJsonValidationMetadataProvider with the default Newtonsoft.Json.Serialization.CamelCaseNamingStrategy

NewtonsoftJsonValidationMetadataProvider(NamingStrategy)

Initializes a new instance of NewtonsoftJsonValidationMetadataProvider with an optional Newtonsoft.Json.Serialization.NamingStrategy

NewtonsoftJsonValidationMetadataProvider()

Source:
NewtonsoftJsonValidationMetadataProvider.cs
Source:
NewtonsoftJsonValidationMetadataProvider.cs

Creates a new NewtonsoftJsonValidationMetadataProvider with the default Newtonsoft.Json.Serialization.CamelCaseNamingStrategy

public NewtonsoftJsonValidationMetadataProvider ();
Public Sub New ()

Applies to

NewtonsoftJsonValidationMetadataProvider(NamingStrategy)

Source:
NewtonsoftJsonValidationMetadataProvider.cs
Source:
NewtonsoftJsonValidationMetadataProvider.cs

Initializes a new instance of NewtonsoftJsonValidationMetadataProvider with an optional Newtonsoft.Json.Serialization.NamingStrategy

public NewtonsoftJsonValidationMetadataProvider (Newtonsoft.Json.Serialization.NamingStrategy namingStrategy);
new Microsoft.AspNetCore.Mvc.NewtonsoftJson.NewtonsoftJsonValidationMetadataProvider : Newtonsoft.Json.Serialization.NamingStrategy -> Microsoft.AspNetCore.Mvc.NewtonsoftJson.NewtonsoftJsonValidationMetadataProvider
Public Sub New (namingStrategy As NamingStrategy)

Parameters

namingStrategy
Newtonsoft.Json.Serialization.NamingStrategy

The Newtonsoft.Json.Serialization.NamingStrategy to be used to configure the metadata provider.

Applies to