JsonSubTypes (Jackson-annotations 2.1.0 API)
Date: 2012-10-05

Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

## com.fasterxml.jackson.annotation
Annotation Type JsonSubTypes

    @Target(value={ANNOTATION_TYPE,TYPE,FIELD,METHOD,PARAMETER})
    @Retention(value=RUNTIME)
    public @interface JsonSubTypes

Annotation used with `JsonTypeInfo` to indicate sub types of serializable polymorphic types, and to associate logical names used within JSON content (which is more portable than using physical Java class names).

Required Element Summary
`JsonSubTypes.Type[]` | `value` Subtypes of the annotated type (annotated class, or property value type associated with the annotated method).

Element Detail

### value

    public abstract JsonSubTypes.Type[] value

  Subtypes of the annotated type (annotated class, or property value type associated with the annotated method). These will be checked recursively so that types can be defined by only including direct subtypes.

Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

Copyright © 2012 FasterXML. All Rights Reserved.