JsonSerializerOptions.NewLine Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the new line string to use when WriteIndented is true
.
The default is the value of 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
Property Value
Exceptions
Thrown when the new line string is null
.
Thrown when the new line string is not \n
or \r\n
.
Thrown if this property is set after serialization or deserialization has occurred.
Applies to
Spolupráca s nami v službe GitHub
Zdroj tohto obsahu nájdete v službe GitHub, kde môžete vytvárať a skúmať problémy a žiadosti o prijatie zmien. Ďalšie informácie nájdete v našom sprievodcovi prispievateľom.