JsonDocumentOptions.AllowDuplicateProperties 속성
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
JSON 개체를 역직렬화할 때 중복 속성 이름이 허용되는지 여부를 정의합니다.
public:
property bool AllowDuplicateProperties { bool get(); void set(bool value); };
public bool AllowDuplicateProperties { get; set; }
member this.AllowDuplicateProperties : bool with get, set
Public Property AllowDuplicateProperties As Boolean
속성 값
설명
기본적으로 true로 설정됩니다. 로 설정 falseJsonException 하면 역직렬화하는 동안 중복 속성 이름이 발생할 때 throw됩니다.