EnumIgnoreUnknownSerializer
abstract class EnumIgnoreUnknownSerializer<T : Enum<T>>(values: Array<out T>, defaultValue: T) : KSerializer<T>
Parses an enum using values, and on unknown values, falls back to defaultValue.