deserializeAs

inline fun <T : Enum<T>> String.deserializeAs(): T