JsonPatchInputFormatter 클래스

정의

TextInputFormatter JSON 패치(application/json-patch+json) 콘텐츠에 대한 입니다.

public ref class JsonPatchInputFormatter : Microsoft::AspNetCore::Mvc::Formatters::JsonInputFormatter
public class JsonPatchInputFormatter : Microsoft.AspNetCore.Mvc.Formatters.JsonInputFormatter
type JsonPatchInputFormatter = class
    inherit JsonInputFormatter
Public Class JsonPatchInputFormatter
Inherits JsonInputFormatter
상속

생성자

JsonPatchInputFormatter(ILogger, JsonSerializerSettings, ArrayPool<Char>, ObjectPoolProvider)
사용되지 않음.

JsonPatchInputFormatter 인스턴스를 초기화합니다.

JsonPatchInputFormatter(ILogger, JsonSerializerSettings, ArrayPool<Char>, ObjectPoolProvider, Boolean)
사용되지 않음.

JsonPatchInputFormatter 인스턴스를 초기화합니다.

JsonPatchInputFormatter(ILogger, JsonSerializerSettings, ArrayPool<Char>, ObjectPoolProvider, Boolean, Boolean)
사용되지 않음.

JsonPatchInputFormatter 인스턴스를 초기화합니다.

JsonPatchInputFormatter(ILogger, JsonSerializerSettings, ArrayPool<Char>, ObjectPoolProvider, MvcOptions, MvcJsonOptions)

JsonPatchInputFormatter 인스턴스를 초기화합니다.

속성

ExceptionPolicy

본문 모델 바인더가 모든 예외를 처리해야 하는지 여부를 나타내는 플래그를 가져옵니다. 예외가 처리되면 본문 모델 바인더는 예외를 모델 상태 오류로 변환하고, 그렇지 않으면 예외를 전파할 수 있습니다.

ExceptionPolicy

본문 모델 바인더가 모든 예외를 처리해야 하는지 여부를 나타내는 플래그를 가져옵니다. 예외가 처리되면 본문 모델 바인더는 예외를 모델 상태 오류로 변환하고, 그렇지 않으면 예외를 전파할 수 있습니다.

(다음에서 상속됨 JsonInputFormatter)
SerializerSettings

Newtonsoft.Json.JsonSerializerSettings 구성하는 데 사용되는 를 가져옵니다 Newtonsoft.Json.JsonSerializer.

(다음에서 상속됨 JsonInputFormatter)
SupportedEncodings

TextInputFormatter에서 지원하는 문자 인코딩의 변경 가능한 컬렉션을 가져옵니다. 인코딩은 데이터를 읽을 때 사용됩니다.

(다음에서 상속됨 TextInputFormatter)
SupportedMediaTypes

InputFormatter에서 지원하는 미디어 형식 요소의 변경 가능한 컬렉션을 가져옵니다.

(다음에서 상속됨 InputFormatter)

메서드

CanRead(InputFormatterContext)

의 개체contextModelType를 역직렬화할 수 있는지 여부를 IInputFormatter 결정합니다.

CanReadType(Type)

지정된 type의 개체를 역직렬화할 수 있는지 여부를 InputFormatter 결정합니다.

(다음에서 상속됨 InputFormatter)
CreateJsonSerializer()

역직렬화 중에 호출하여 를 가져옵니다 Newtonsoft.Json.JsonSerializer.

(다음에서 상속됨 JsonInputFormatter)
GetDefaultValueForType(Type)

지정된 형식의 기본값을 가져옵니다. 본문에 콘텐츠가 없는 경우 기본값을 반환하는 데 사용됩니다.

(다음에서 상속됨 InputFormatter)
GetSupportedContentTypes(String, Type)

contentType에 대해 objectType 에서 지원하는 IInputFormatter 콘텐츠 형식의 필터링된 목록을 가져옵니다.

(다음에서 상속됨 InputFormatter)
ReadAsync(InputFormatterContext)

요청 본문에서 개체를 읽습니다.

(다음에서 상속됨 InputFormatter)
ReadRequestBodyAsync(InputFormatterContext)

요청 본문에서 개체를 읽습니다.

(다음에서 상속됨 TextInputFormatter)
ReadRequestBodyAsync(InputFormatterContext, Encoding)

요청 본문에서 개체를 읽습니다.

ReleaseJsonSerializer(JsonSerializer)

serializer 인스턴스를 해제합니다.

(다음에서 상속됨 JsonInputFormatter)
SelectCharacterEncoding(InputFormatterContext)

Encoding 의 문자 집합을 기반으로 context을 반환합니다.

(다음에서 상속됨 TextInputFormatter)

적용 대상