Top Description Methods
com.fasterxml.jackson.annotation

public @Interface JsonTypeName

extends Annotation
Annotations
@Target:ANNOTATION_TYPE, TYPE
@Retention:RUNTIME
@JacksonAnnotation
Imports
java.lang.annotation.ElementType, .Retention, .RetentionPolicy, .Target

Annotation used for binding logical name that the annotated class has. Used with JsonTypeInfo (and specifically its JsonTypeInfo#use property) to establish relationship between type names and types.
Author
tatu

Method Summary

Modifier and TypeMethod and Description
public String
value()

Logical type name for annotated type.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

valueback to summary
public 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.