Dela via


MvcNewtonsoftJsonOptions.ReadJsonWithRequestCulture Property

Definition

Gets or sets a flag to determine whether the value of CurrentCulture for the current HTTP request is used for JSON deserialization by NewtonsoftJsonInputFormatter.

public bool ReadJsonWithRequestCulture { get; set; }
member this.ReadJsonWithRequestCulture : bool with get, set
Public Property ReadJsonWithRequestCulture As Boolean

Property Value

The default value is false.

Applies to