MvcNewtonsoftJsonOptionsExtensions.UseMemberCasing Method

Definition

Configures the casing behavior of JSON serialization to use the member's casing for property names, properties of dynamic types, and dictionary keys.

public static Microsoft.AspNetCore.Mvc.MvcNewtonsoftJsonOptions UseMemberCasing (this Microsoft.AspNetCore.Mvc.MvcNewtonsoftJsonOptions options);
static member UseMemberCasing : Microsoft.AspNetCore.Mvc.MvcNewtonsoftJsonOptions -> Microsoft.AspNetCore.Mvc.MvcNewtonsoftJsonOptions
<Extension()>
Public Function UseMemberCasing (options As MvcNewtonsoftJsonOptions) As MvcNewtonsoftJsonOptions

Parameters

Returns

MvcNewtonsoftJsonOptions with member casing settings.

Remarks

This method modifies Newtonsoft.Json.JsonSerializerSettings.ContractResolver.

Applies to