@Target({ANNOTATION_TYPE,METHOD,FIELD,TYPE,PARAMETER}) @Retention(RUNTIME) public @interface JsonTypeResolver
NOTE: since 2.4, applicable to properties as well (should have been long time ago, but problem only found then)
Modifier and Type | Required Element | Description |
---|---|---|
Class<? extends TypeResolverBuilder<?>> |
value |
Defines implementation class of
TypeResolverBuilder which is used to construct
actual TypeDeserializer and TypeDeserializer
instances that handle reading and writing addition type information needed to support polymorphic
deserialization. |
Class<? extends TypeResolverBuilder<?>> value
TypeResolverBuilder
which is used to construct
actual TypeDeserializer
and TypeDeserializer
instances that handle reading and writing addition type information needed to support polymorphic
deserialization.Copyright © 2008–2018. All rights reserved.