MvcJsonOptions Class
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.
Provides programmatic configuration for JSON in the MVC framework.
public ref class MvcJsonOptions
public ref class MvcJsonOptions : System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Mvc::Infrastructure::ICompatibilitySwitch ^>
public class MvcJsonOptions
public class MvcJsonOptions : System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.Infrastructure.ICompatibilitySwitch>
type MvcJsonOptions = class
type MvcJsonOptions = class
interface seq<ICompatibilitySwitch>
interface IEnumerable
Public Class MvcJsonOptions
Public Class MvcJsonOptions
Implements IEnumerable(Of ICompatibilitySwitch)
- Inheritance
-
MvcJsonOptions
- Implements
Mvc |
Creates a new instance of MvcJsonOptions. |
Allow |
Gets or sets a flag to determine whether error messages from JSON deserialization by the
JsonInputFormatter will be added to the ModelStateDictionary. The default
value is |
Serializer |
Gets the Newtonsoft.Json.JsonSerializerSettings that are used by this application. |
منتج | الإصدارات |
---|---|
ASP.NET Core | 1.0, 1.1, 2.0, 2.1, 2.2 |