deserializeAsT

inline fun <T : Enum<T>> String.deserializeAsT(type: KClass<T>): T