JsonEnumDefaultValue (Jackson-annotations 2.12.0 API)
Date: 2020-11-28

com.fasterxml.jackson.annotation

## Annotation Type JsonEnumDefaultValue

-     @Target(value={ANNOTATION_TYPE,FIELD})
       @Retention(value=RUNTIME)
      public @interface JsonEnumDefaultValue

  Marker annotation that can be used to define a default value used when trying to deserialize unknown Enum values.

  This annotation is only applicable when the `@READ_UNKNOWN_ENUM_VALUES_USING_DEFAULT_VALUE` deserialization feature is enabled.

  If the more than one enum value is marked with this annotation, the first one to be detected will be used. Which one exactly is undetermined.

Copyright © 2008–2020 FasterXML. All rights reserved.