toJson

Converts value to a JSON string. The method is intended to be used when `machine-readable` string is needed.

Return

string The value converted to a JSON string.

open fun toJson(): String