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.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.module |
Package that contains classes and interfaces to help implement
custom extension
Module s
(which are registered using
ObjectMapper.registerModule(com.fasterxml.jackson.databind.Module) . |
Modifier and Type | Method and Description |
---|---|
void |
Module.SetupContext.addAbstractTypeResolver(AbstractTypeResolver resolver)
Method that module can use to register additional
AbstractTypeResolver instance, to handle resolution of
abstract to concrete types (either by defaulting, or by materializing). |
Modifier and Type | Field and Description |
---|---|
protected AbstractTypeResolver[] |
DeserializerFactoryConfig._abstractTypeResolvers
List of objects that may be able to resolve abstract types to
concrete types.
|
protected static AbstractTypeResolver[] |
DeserializerFactoryConfig.NO_ABSTRACT_TYPE_RESOLVERS |
Modifier and Type | Method and Description |
---|---|
Iterable<AbstractTypeResolver> |
DeserializerFactoryConfig.abstractTypeResolvers() |
Modifier and Type | Method and Description |
---|---|
DeserializerFactoryConfig |
DeserializerFactoryConfig.withAbstractTypeResolver(AbstractTypeResolver resolver)
Fluent/factory method used to construct a configuration object that
has same configuration as this instance plus one additional
abstract type resolver.
|
Constructor and Description |
---|
DeserializerFactoryConfig(Deserializers[] allAdditionalDeserializers,
KeyDeserializers[] allAdditionalKeyDeserializers,
BeanDeserializerModifier[] modifiers,
AbstractTypeResolver[] atr,
ValueInstantiators[] vi)
Copy-constructor that will create an instance that contains defined
set of additional deserializer providers.
|
Modifier and Type | Method and Description |
---|---|
DeserializerFactory |
BasicDeserializerFactory.withAbstractTypeResolver(AbstractTypeResolver resolver)
Convenience method for creating a new factory instance with additional
AbstractTypeResolver . |
abstract DeserializerFactory |
DeserializerFactory.withAbstractTypeResolver(AbstractTypeResolver resolver)
Convenience method for creating a new factory instance with additional
AbstractTypeResolver . |
Modifier and Type | Class and Description |
---|---|
class |
SimpleAbstractTypeResolver
Simple
AbstractTypeResolver implementation, which is
based on static mapping from abstract super types into
sub types (concrete or abstract), but retaining generic
parameterization. |
Copyright © 2019 JBoss by Red Hat. All rights reserved.