public static @interface JsonSubTypes.Type
JsonTypeName
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.Modifier and Type | Required Element | Description |
---|---|---|
java.lang.Class<?> |
value |
Class of the subtype
|
Modifier and Type | Optional Element | Description |
---|---|---|
java.lang.String |
name |
Logical type name used as the type identifier for the class
|