KGy SOFT

JsonObjectWriteTo Method (TextWriter, String)

KGy SOFT JSON Libraries Help
Writes this JsonObject instance into a TextReader.

Namespace:  KGySoft.Json
Assembly:  KGySoft.Json (in KGySoft.Json.dll) Version: 2.0.0
Syntax

public void WriteTo(
	TextWriter writer,
	string? indent = null
)

Parameters

writer
Type: System.IOTextWriter
A TextWriter to write the JsonObject into.
indent (Optional)
Type: SystemString
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

Reference