MvcNewtonsoftJsonOptionsExtensions.UseMemberCasing 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.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for