jsonOf

fun jsonOf(value: Any?): String

value as JSON text: maps, lists, numbers (a non-finite one null), booleans, null and strings.