JsonValueWriteTo(StringBuilder, String) Method

Writes this JsonValue instance into a StringBuilder.

Definition

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

Parameters

builder  StringBuilder
A StringBuilder 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