Uses of Class
io.datarouter.gson.serializer.IntegerMappedEnumSerializer
Packages that use IntegerMappedEnumSerializer
-
Uses of IntegerMappedEnumSerializer in io.datarouter.gson.serializer
Methods in io.datarouter.gson.serializer that return IntegerMappedEnumSerializerModifier and TypeMethodDescriptionstatic final <T extends Enum<T>>
IntegerMappedEnumSerializer<T>IntegerMappedEnumSerializer.optional(io.datarouter.enums.MappedEnum<T, Integer> mappedEnum, T replacement) When deserializing, return the replacement if the value is not found.static final <T extends Enum<T>>
IntegerMappedEnumSerializer<T>IntegerMappedEnumSerializer.optionalWithLogging(io.datarouter.enums.MappedEnum<T, Integer> mappedEnum, T replacement) When deserializing, return the replacement if the value is not found.static final <T extends Enum<T>>
IntegerMappedEnumSerializer<T>When deserializing, throw an exception if the value is not found.