JsonSerializerOptions.PropertyNameCaseInsensitive 속성
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
역직렬화하는 동안 속성 이름이 대/소문자를 구분하지 않는 비교를 사용하는지 여부를 나타내는 값을 가져오거나 설정합니다. 기본값은 false입니다.
public:
property bool PropertyNameCaseInsensitive { bool get(); void set(bool value); };
public bool PropertyNameCaseInsensitive { get; set; }
member this.PropertyNameCaseInsensitive : bool with get, set
Public Property PropertyNameCaseInsensitive As Boolean
속성 값
true속성 이름을 대/소문자를 구분하지 않는 경우 그렇지 않으면 . false
설명
대/소문자를 구분하지 않는 비교(즉, 시기 PropertyNameCaseInsensitivetrue)와 관련된 성능 비용이 있습니다.
자세한 내용은 System.Text.Json과 대/소문자를 구분하지 않는 속성 이름 일치를 사용하도록 설정하는 방법을 참조하세요.