JsonSerializerOptions.NewLine 속성

정의

이 경우 사용할 WriteIndentedtrue새 줄 문자열을 가져오거나 설정합니다.

기본값은 NewLine 값입니다.

public:
 property System::String ^ NewLine { System::String ^ get(); void set(System::String ^ value); };
public string NewLine { get; set; }
member this.NewLine : string with get, set
Public Property NewLine As String

속성 값

예외

새 줄 문자열이 인 경우 throw됩니다 null.

새 줄 문자열이 아닌 \n 경우 throw되거나 \r\n.

이 속성은 serialization 또는 deserialization이 발생한 후에 설정됩니다.

적용 대상