JsonObjectToString(String) Method

Returns a JSON string that represents this JsonObject.

Definition

Namespace: KGySoft.Json
Assembly: KGySoft.Json (in KGySoft.Json.dll) Version: 3.0.0
C#
public string ToString(
	string? indent
)

Parameters

indent  String
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.

Return Value

String
A JSON string that represents this JsonObject.

See Also