JsonValueWriteTo(TextWriter, String) Method

Writes this JsonValue instance into a TextReader.

Definition

Namespace: KGySoft.Json
Assembly: KGySoft.Json (in KGySoft.Json.dll) Version: 3.0.0
C#
public void WriteTo(
	TextWriter writer,
	string? indent = null
)

Parameters

writer  TextWriter
A TextWriter to write the JsonValue into.
indent  String  (Optional)
Specifies the indentation string to produce a formatted JSON. If or empty, then a minimized JSON is returned. Using non-whitespace characters may produce an invalid JSON. This parameter is optional.
Default value: .

See Also