asJsonString

fun asJsonString(): String

Return state as a JSON string.