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.addValueInstantiators(ValueInstantiators instantiators)
Method that module can use to register additional
ValueInstantiator s,
by adding ValueInstantiators object that gets called when
instantatiator is needed by a deserializer. |
Modifier and Type | Field and Description |
---|---|
protected ValueInstantiators[] |
DeserializerFactoryConfig._valueInstantiators
List of objects that know how to create instances of POJO types;
possibly using custom construction (non-annoted constructors; factory
methods external to value type etc).
|
protected static ValueInstantiators[] |
DeserializerFactoryConfig.NO_VALUE_INSTANTIATORS |
Modifier and Type | Method and Description |
---|---|
Iterable<ValueInstantiators> |
DeserializerFactoryConfig.valueInstantiators() |
Modifier and Type | Method and Description |
---|---|
DeserializerFactoryConfig |
DeserializerFactoryConfig.withValueInstantiators(ValueInstantiators instantiators)
Fluent/factory method used to construct a configuration object that
has same configuration as this instance plus specified additional
value instantiator provider object.
|
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 | Class and Description |
---|---|
static class |
ValueInstantiators.Base
Basic "NOP" implementation that can be used as the base class for custom implementations.
|
Modifier and Type | Method and Description |
---|---|
DeserializerFactory |
BasicDeserializerFactory.withValueInstantiators(ValueInstantiators instantiators)
Convenience method for creating a new factory instance with additional
ValueInstantiators . |
abstract DeserializerFactory |
DeserializerFactory.withValueInstantiators(ValueInstantiators instantiators)
Convenience method for creating a new factory instance with additional
ValueInstantiators . |
Modifier and Type | Class and Description |
---|---|
class |
SimpleValueInstantiators |
Copyright © 2020 JBoss by Red Hat. All rights reserved.