asA

abstract fun <T : Any> asA(type: KClass<T>): T

Gets this value as an instance of type.

Throws an exception if this value cannot be deserialized into a T instance.