writePrettyJsonString

Writes the given JSON object as a prettified JSON string into the destination range.

The output will contain newlines and indents to make the output human readable.

void
writePrettyJsonString
(
R
)
(
ref R dst
,,
int level = 0
)

Parameters

dst R

References the string output range to which the result is written.

json Json

Specifies the JSON value that is to be stringified.

level int

Specifies the base amount of indentation for the output. Indentation is always done using tab characters.

See Also

Json.toPrettyString, writeJsonString

Meta