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.
|
Modifier and Type | Class and Description |
---|---|
static class |
InjectableValues.Std
Simple standard implementation which uses a simple Map to
store values to inject, identified by simple String keys.
|
Modifier and Type | Field and Description |
---|---|
protected InjectableValues |
ObjectReader._injectableValues
Values that can be injected during deserialization, if any.
|
protected InjectableValues |
ObjectMapper._injectableValues
Provider for values to inject in deserialized POJOs.
|
protected InjectableValues |
DeserializationContext._injectableValues
Object used for resolving references to injectable
values.
|
Modifier and Type | Method and Description |
---|---|
InjectableValues |
ObjectReader.getInjectableValues() |
InjectableValues |
ObjectMapper.getInjectableValues() |
Modifier and Type | Method and Description |
---|---|
protected ObjectReader |
ObjectReader._new(ObjectReader base,
DeserializationConfig config,
JavaType valueType,
JsonDeserializer<Object> rootDeser,
Object valueToUpdate,
com.fasterxml.jackson.core.FormatSchema schema,
InjectableValues injectableValues,
DataFormatReaders dataFormatReaders)
Overridable factory method called by various "withXxx()" methods
|
protected ObjectReader |
ObjectMapper._newReader(DeserializationConfig config,
JavaType valueType,
Object valueToUpdate,
com.fasterxml.jackson.core.FormatSchema schema,
InjectableValues injectableValues)
Factory method sub-classes must override, to produce
ObjectReader
instances of proper sub-type |
ObjectReader |
ObjectMapper.reader(InjectableValues injectableValues)
Factory method for constructing
ObjectReader that will
use specified injectable values. |
ObjectMapper |
ObjectMapper.setInjectableValues(InjectableValues injectableValues)
Method for configuring
InjectableValues which used to find
values to inject. |
ObjectReader |
ObjectReader.with(InjectableValues injectableValues)
Method for constructing a new instance with configuration that uses
passed
InjectableValues to provide injectable values. |
Constructor and Description |
---|
DeserializationContext(DeserializationContext src,
DeserializationConfig config,
com.fasterxml.jackson.core.JsonParser p,
InjectableValues injectableValues)
Constructor used for creating actual per-call instances.
|
ObjectReader(ObjectMapper mapper,
DeserializationConfig config,
JavaType valueType,
Object valueToUpdate,
com.fasterxml.jackson.core.FormatSchema schema,
InjectableValues injectableValues)
Constructor called when a root deserializer should be fetched based
on other configuration.
|
ObjectReader(ObjectReader base,
DeserializationConfig config,
JavaType valueType,
JsonDeserializer<Object> rootDeser,
Object valueToUpdate,
com.fasterxml.jackson.core.FormatSchema schema,
InjectableValues injectableValues,
DataFormatReaders dataFormatReaders)
Copy constructor used for building variations.
|
Modifier and Type | Method and Description |
---|---|
B |
MapperBuilder.injectableValues(InjectableValues v) |
Modifier and Type | Method and Description |
---|---|
abstract DefaultDeserializationContext |
DefaultDeserializationContext.createInstance(DeserializationConfig config,
com.fasterxml.jackson.core.JsonParser p,
InjectableValues values)
Method called to create actual usable per-deserialization
context instance.
|
DefaultDeserializationContext |
DefaultDeserializationContext.Impl.createInstance(DeserializationConfig config,
com.fasterxml.jackson.core.JsonParser p,
InjectableValues values) |
Constructor and Description |
---|
DefaultDeserializationContext(DefaultDeserializationContext src,
DeserializationConfig config,
com.fasterxml.jackson.core.JsonParser p,
InjectableValues values) |
Copyright © 2008–2022 FasterXML. All rights reserved.