Annotation Interface JsonTypeResolver
Annotation that can be used to explicitly define custom resolver
used for handling serialization and deserialization of type information,
needed for handling of polymorphic types (or sometimes just for linking
abstract types to concrete types)
- Since:
- 1.5
-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionClass
<? extends TypeResolverBuilder<?>> Defines implementation class ofTypeResolverBuilder
which is used to construct actualTypeDeserializer
andTypeDeserializer
instances that handle reading and writing addition type information needed to support polymorphic deserialization.
-
Element Details
-
value
Class<? extends TypeResolverBuilder<?>> valueDefines implementation class ofTypeResolverBuilder
which is used to construct actualTypeDeserializer
andTypeDeserializer
instances that handle reading and writing addition type information needed to support polymorphic deserialization.
-