Package | Description |
---|---|
com.fasterxml.jackson.databind |
Contains basic mapper (conversion) functionality that
allows for converting between regular streaming json content and
Java objects (beans or Tree Model: support for both is via
ObjectMapper class, as well
as convenience methods included in
JsonParser |
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<Object,Object> attributes) |
ContextAttributes |
ContextAttributes.Impl.withSharedAttributes(Map<Object,Object> 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 © 2014 FasterXML. All Rights Reserved.