MvcJsonOptions 클래스

정의

MVC 프레임워크에서 JSON에 대한 프로그래밍 방식 구성을 제공합니다.

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)
상속
MvcJsonOptions
구현

생성자

MvcJsonOptions()

MvcJsonOptions의 새 인스턴스를 만듭니다.

속성

AllowInputFormatterExceptionMessages

에 의한 JSON 역직렬화 JsonInputFormatter 의 오류 메시지가 에 추가될지 여부를 결정하는 플래그를 ModelStateDictionary가져오거나 설정합니다. 기본값은 입니다 false. 즉, 제네릭 오류 메시지가 대신 사용됩니다.

SerializerSettings

이 애플리케이션에서 Newtonsoft.Json.JsonSerializerSettings 사용되는 을 가져옵니다.

명시적 인터페이스 구현

IEnumerable.GetEnumerator()

MVC 프레임워크에서 JSON에 대한 프로그래밍 방식 구성을 제공합니다.

IEnumerable<ICompatibilitySwitch>.GetEnumerator()

MVC 프레임워크에서 JSON에 대한 프로그래밍 방식 구성을 제공합니다.

확장 메서드

UseCamelCasing(MvcJsonOptions, Boolean)

MVC 프레임워크에서 JSON에 대한 프로그래밍 방식 구성을 제공합니다.

UseMemberCasing(MvcJsonOptions)

MVC 프레임워크에서 JSON에 대한 프로그래밍 방식 구성을 제공합니다.

적용 대상