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 ). |
Modifier and Type | Field and Description |
---|---|
protected ContextAttributes |
SerializerProvider._attributes
Lazily-constructed holder for per-call attributes.
|
protected ContextAttributes |
DeserializationContext._attributes
Lazily-constructed holder for per-call attributes.
|
Modifier and Type | Method and Description |
---|---|
ContextAttributes |
ObjectWriter.getAttributes() |
ContextAttributes |
ObjectReader.getAttributes() |
Modifier and Type | Method and Description |
---|---|
ObjectReader |
ObjectMapper.reader(ContextAttributes attrs)
Factory method for constructing
ObjectReader that will
use specified default attributes. |
SerializationConfig |
SerializationConfig.with(ContextAttributes attrs) |
ObjectWriter |
ObjectWriter.with(ContextAttributes attrs) |
ObjectReader |
ObjectReader.with(ContextAttributes attrs) |
DeserializationConfig |
DeserializationConfig.with(ContextAttributes attrs) |
ObjectWriter |
ObjectMapper.writer(ContextAttributes attrs)
Factory method for constructing
ObjectWriter that will
use specified default attributes. |
Constructor and Description |
---|
DeserializationConfig(DeserializationConfig src,
ContextAttributes attrs) |
SerializationConfig(SerializationConfig src,
ContextAttributes attrs) |
Modifier and Type | Class and Description |
---|---|
static class |
ContextAttributes.Impl |
Modifier and Type | Field and Description |
---|---|
protected ContextAttributes |
MapperConfigBase._attributes
Contextual attributes accessible (get and set) during processing,
on per-call basis.
|
Modifier and Type | Method and Description |
---|---|
ContextAttributes |
MapperConfigBase.getAttributes() |
abstract ContextAttributes |
MapperConfig.getAttributes()
Method for accessing per-instance shared (baseline/default)
attribute values; these are used as the basis for per-call
attributes.
|
static ContextAttributes |
ContextAttributes.getEmpty() |
static ContextAttributes |
ContextAttributes.Impl.getEmpty() |
protected ContextAttributes |
ContextAttributes.Impl.nonSharedInstance(Object key,
Object value)
Overridable method that creates initial non-shared instance,
with the first explicit set value.
|
abstract ContextAttributes |
ContextAttributes.withoutSharedAttribute(Object key) |
ContextAttributes |
ContextAttributes.Impl.withoutSharedAttribute(Object key) |
abstract ContextAttributes |
ContextAttributes.withPerCallAttribute(Object key,
Object value)
Mutator used during call (via context) to set value of "non-shared"
part of attribute set.
|
ContextAttributes |
ContextAttributes.Impl.withPerCallAttribute(Object key,
Object value) |
abstract ContextAttributes |
ContextAttributes.withSharedAttribute(Object key,
Object value) |
ContextAttributes |
ContextAttributes.Impl.withSharedAttribute(Object key,
Object value) |
abstract ContextAttributes |
ContextAttributes.withSharedAttributes(Map<?,?> attributes) |
ContextAttributes |
ContextAttributes.Impl.withSharedAttributes(Map<?,?> shared) |
Modifier and Type | Method and Description |
---|---|
abstract T |
MapperConfigBase.with(ContextAttributes attrs)
Method for constructing an instance that has specified
contextual attributes.
|
Constructor and Description |
---|
MapperConfigBase(MapperConfigBase<CFG,T> src,
ContextAttributes attr) |
Copyright © 2008–2019 FasterXML. All rights reserved.