JsonReaderOptions.AllowTrailingCommas 속성

정의

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

public:
 property bool AllowTrailingCommas { bool get(); void set(bool value); };
public bool AllowTrailingCommas { get; set; }
member this.AllowTrailingCommas : bool with get, set
Public Property AllowTrailingCommas As Boolean

속성 값

Boolean

true추가 쉼표가 허용되는 경우 그렇지 않으면 . false

설명

By default, this property is set to false, and a JsonException is thrown if a trailing comma is encountered.

적용 대상