Package org.codehaus.jackson.annotate
Annotation Type JsonTypeName
-
@Target(TYPE) @Retention(RUNTIME) public @interface JsonTypeName
Annotation used for binding logical name that the annotated class has. Used withJsonTypeInfo
(and specifically itsJsonTypeInfo.use()
property) to establish relationship between type names and types.- Since:
- 1.5
- Author:
- tatu
-
-
Element Detail
-
value
String value
Logical type name for annotated type. If missing (or defined as Empty String), defaults to using non-qualified class name as the type.- Default:
- ""
-
-