toString

open fun toString(): String

Return the JSON array as a JSON string.

Return

The JSON string describing the JSON array.


open fun toString(pretty: Boolean): String

Return the JSON array as a JSON string.

Return

The JSON string describing the JSON array.

Parameters

pretty

Whether the string should be pretty (with indents etc.)