toJson

fun toJson(): String

Serialize this input to its compact JSON form. Useful for debugging or manual persistence.