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 and Description |
---|---|
java.lang.Class<?> |
value
Class of the subtype
|
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String |
name
Logical type name used as the type identifier for the class
|
Copyright © 2010 - 2020 Adobe. All Rights Reserved