parse

fun <T> parse(text: String): T(source)
fun <T> parse(text: String, reviver: (key: String, value: Any?) -> Any?): T(source)

Since Kotlin

1.1