Uses of Interface
com.fasterxml.jackson.databind.jsontype.TypeIdResolver
-
Packages that use TypeIdResolver Package Description com.fasterxml.jackson.databind Basic data binding (mapping) functionality that allows for reading JSON content into Java Objects (POJOs) and JSON Trees (JsonNode), as well as writing Java Objects and trees as JSON.com.fasterxml.jackson.databind.annotation Annotations that directly depend on classes in databinding bundle (not just Jackson core) and cannot be included in Jackson core annotations package (because it cannot have any external dependencies).com.fasterxml.jackson.databind.cfg Package that contains most of configuration-related classes; exception being couple of most-commonly used configuration things (like Feature enumerations) that are at the main level (com.fasterxml.jackson.databind).com.fasterxml.jackson.databind.deser Contains implementation classes of deserialization part of data binding.com.fasterxml.jackson.databind.jsontype Package that contains interfaces that define how to implement functionality for dynamically resolving type during deserialization.com.fasterxml.jackson.databind.jsontype.impl Package that contains standard implementations forTypeResolverBuilderandTypeIdResolver. -
-
Uses of TypeIdResolver in com.fasterxml.jackson.databind
Methods in com.fasterxml.jackson.databind with parameters of type TypeIdResolver Modifier and Type Method Description JavaTypeDeserializationContext. handleMissingTypeId(JavaType baseType, TypeIdResolver idResolver, String extraDesc)JavaTypeDeserializationContext. handleUnknownTypeId(JavaType baseType, String id, TypeIdResolver idResolver, String extraDesc)Method that deserializers should call if they encounter a type id (for polymorphic deserialization) that cannot be resolved to an actual type; usually since there is no mapping defined. -
Uses of TypeIdResolver in com.fasterxml.jackson.databind.annotation
Methods in com.fasterxml.jackson.databind.annotation that return types with arguments of type TypeIdResolver Modifier and Type Method Description Class<? extends TypeIdResolver>value()Defines implementation class ofTypeIdResolverto use for converting between external type id (type name) and actual type of object. -
Uses of TypeIdResolver in com.fasterxml.jackson.databind.cfg
Methods in com.fasterxml.jackson.databind.cfg that return TypeIdResolver Modifier and Type Method Description abstract TypeIdResolverHandlerInstantiator. typeIdResolverInstance(MapperConfig<?> config, Annotated annotated, Class<?> resolverClass)Method called to get an instance of TypeIdResolver of specified type.TypeIdResolverMapperConfig. typeIdResolverInstance(Annotated annotated, Class<? extends TypeIdResolver> resolverClass)Method that can be called to obtain an instance ofTypeIdResolverof specified type.Method parameters in com.fasterxml.jackson.databind.cfg with type arguments of type TypeIdResolver Modifier and Type Method Description TypeIdResolverMapperConfig. typeIdResolverInstance(Annotated annotated, Class<? extends TypeIdResolver> resolverClass)Method that can be called to obtain an instance ofTypeIdResolverof specified type. -
Uses of TypeIdResolver in com.fasterxml.jackson.databind.deser
Methods in com.fasterxml.jackson.databind.deser with parameters of type TypeIdResolver Modifier and Type Method Description JavaTypeDeserializationProblemHandler. handleMissingTypeId(DeserializationContext ctxt, JavaType baseType, TypeIdResolver idResolver, String failureMsg)Handler method called if an expected type id for a polymorphic value is not found and no "default type" is specified or allowed.JavaTypeDeserializationProblemHandler. handleUnknownTypeId(DeserializationContext ctxt, JavaType baseType, String subTypeId, TypeIdResolver idResolver, String failureMsg)Handler method called if resolution of type id from given String failed to produce a subtype; usually because logical id is not mapped to actual implementation class. -
Uses of TypeIdResolver in com.fasterxml.jackson.databind.jsontype
Methods in com.fasterxml.jackson.databind.jsontype that return TypeIdResolver Modifier and Type Method Description abstract TypeIdResolverTypeDeserializer. getTypeIdResolver()Accessor for object that handles conversions between types and matching type ids.abstract TypeIdResolverTypeSerializer. getTypeIdResolver()Accessor for object that handles conversions between types and matching type ids.Methods in com.fasterxml.jackson.databind.jsontype with parameters of type TypeIdResolver Modifier and Type Method Description TTypeResolverBuilder. init(com.fasterxml.jackson.annotation.JsonTypeInfo.Id idType, TypeIdResolver res)Initialization method that is called right after constructing the builder instance. -
Uses of TypeIdResolver in com.fasterxml.jackson.databind.jsontype.impl
Classes in com.fasterxml.jackson.databind.jsontype.impl that implement TypeIdResolver Modifier and Type Class Description classClassNameIdResolverTypeIdResolverimplementation that converts between fully-qualified Java class names and (JSON) Strings.classMinimalClassNameIdResolverclassTypeIdResolverBasePartial base implementation ofTypeIdResolver: all custom implementations are strongly recommended to extend this class, instead of directly implementingTypeIdResolver.classTypeNameIdResolverFields in com.fasterxml.jackson.databind.jsontype.impl declared as TypeIdResolver Modifier and Type Field Description protected TypeIdResolverStdTypeResolverBuilder. _customIdResolverprotected TypeIdResolverTypeDeserializerBase. _idResolverprotected TypeIdResolverTypeSerializerBase. _idResolverMethods in com.fasterxml.jackson.databind.jsontype.impl that return TypeIdResolver Modifier and Type Method Description TypeIdResolverTypeDeserializerBase. getTypeIdResolver()TypeIdResolverTypeSerializerBase. getTypeIdResolver()protected TypeIdResolverStdTypeResolverBuilder. idResolver(MapperConfig<?> config, JavaType baseType, PolymorphicTypeValidator subtypeValidator, Collection<NamedType> subtypes, boolean forSer, boolean forDeser)Helper method that will either return configured custom type id resolver, or construct a standard resolver given configuration.Methods in com.fasterxml.jackson.databind.jsontype.impl with parameters of type TypeIdResolver Modifier and Type Method Description StdTypeResolverBuilderStdTypeResolverBuilder. init(com.fasterxml.jackson.annotation.JsonTypeInfo.Id idType, TypeIdResolver idRes)
-