toString

open fun toString(): String

Returns the JsonValue as a JSON encoded String.

Return

The value as a JSON encoded String.


open fun toString(sortKeys: Boolean): String

Returns the JsonValue as a JSON encoded String with sorted keys.

Return

The value as a JSON encoded String.