JsonArrayWriteTo(TextWriter, String) Method

Writes this JsonArray 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 JsonArray 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