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