JsonDocumentOptions.AllowDuplicateProperties 속성

정의

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됩니다.

적용 대상