decode

abstract fun <T : Any> decode(type: KType, value: String): T

Decodes the given value to an object of type T