JsonReaderOptions 구조체

정의

사용자가 JSON을 읽을 때 사용자 지정 동작을 정의할 수 있는 기능을 제공합니다.

public value class JsonReaderOptions
public struct JsonReaderOptions
type JsonReaderOptions = struct
Public Structure JsonReaderOptions
상속
JsonReaderOptions

설명

자세한 내용은 System.Text.Json을 사용하여 사용자 지정 serializer 및 역직렬 변환기를 작성하는 방법을 참조하세요.

속성

Name Description
AllowMultipleValues

공백으로 구분된 최상위 JSON 값을 0개 이상 허용할지 여부를 Utf8JsonReader 나타내는 값을 가져오거나 설정합니다.

AllowTrailingCommas

읽는 JSON 페이로드 내에서 개체 또는 배열의 JSON 값 목록 끝에 추가 쉼표가 허용되는지(무시) 여부를 정의하는 값을 가져오거나 설정합니다.

CommentHandling

JSON 데이터를 읽을 때 주석을 처리하는 방법을 Utf8JsonReader 결정하는 값을 가져오거나 설정합니다.

MaxDepth

최대 깊이를 64로 나타내는 기본값(즉, 0)을 사용하여 JSON을 읽을 때 허용되는 최대 깊이를 가져오거나 설정합니다.

적용 대상