Package org.codehaus.jackson.annotate
Annotation Type JsonSubTypes.Type
-
public static @interface JsonSubTypes.Type
Definition of a subtype, along with optional name. If name is missing, class of the type will be checked forJsonTypeName
annotation; and if that is also missing or empty, a default name will be constructed by type id mechanism. Default name is usually based on class name.