MvcJsonOptions Class
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.
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
Constructors
MvcJsonOptions() |
Creates a new instance of MvcJsonOptions. |
Properties
AllowInputFormatterExceptionMessages |
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 |
SerializerSettings |
Gets the Newtonsoft.Json.JsonSerializerSettings that are used by this application. |
Explicit Interface Implementations
IEnumerable.GetEnumerator() | |
IEnumerable<ICompatibilitySwitch>.GetEnumerator() |
Extension Methods
UseCamelCasing(MvcJsonOptions, Boolean) | |
UseMemberCasing(MvcJsonOptions) |