com.fasterxml.jackson.annotation.JsonEnumDefaultValue Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of redisson-all Show documentation
Show all versions of redisson-all Show documentation
Easy Redis Java client and Real-Time Data Platform. Valkey compatible. Sync/Async/RxJava3/Reactive API. Client side caching. Over 50 Redis based Java objects and services: JCache API, Apache Tomcat, Hibernate, Spring, Set, Multimap, SortedSet, Map, List, Queue, Deque, Semaphore, Lock, AtomicLong, Map Reduce, Bloom filter, Scheduler, RPC
package com.fasterxml.jackson.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* 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
* {@code DeserializationFeature#READ_UNKNOWN_ENUM_VALUES_USING_DEFAULT_VALUE} 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.
*/
@Target({ElementType.ANNOTATION_TYPE, ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@JacksonAnnotation
public @interface JsonEnumDefaultValue
{
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy