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.deser |
Contains implementation classes of deserialization part of
data binding.
|
Modifier and Type | Method and Description |
---|---|
<T extends ObjectReader> |
ObjectMapper.reader()
Factory method for constructing
ObjectReader with
default settings. |
<T extends ObjectReader> |
ObjectMapper.reader(com.fasterxml.jackson.core.Base64Variant defaultBase64)
Factory method for constructing
ObjectReader that will
use specified Base64 encoding variant for Base64-encoded binary data. |
<T extends ObjectReader> |
ObjectMapper.reader(Class<?> type)
Factory method for constructing
ObjectReader that will
read or update instances of specified type |
<T extends ObjectReader> |
ObjectMapper.reader(ContextAttributes attrs)
Factory method for constructing
ObjectReader that will
use specified default attributes. |
<T extends ObjectReader> |
ObjectMapper.reader(DeserializationFeature feature)
Factory method for constructing
ObjectReader with
specified feature enabled (compared to settings that this
mapper instance has). |
<T extends ObjectReader> |
ObjectMapper.reader(DeserializationFeature first,
DeserializationFeature... other)
Factory method for constructing
ObjectReader with
specified features enabled (compared to settings that this
mapper instance has). |
<T extends ObjectReader> |
ObjectMapper.reader(com.fasterxml.jackson.core.FormatSchema schema)
Factory method for constructing
ObjectReader that will
pass specific schema object to JsonParser used for
reading content. |
<T extends ObjectReader> |
ObjectMapper.reader(InjectableValues injectableValues)
Factory method for constructing
ObjectReader that will
use specified injectable values. |
<T extends ObjectReader> |
ObjectMapper.reader(JavaType type)
Factory method for constructing
ObjectReader that will
read or update instances of specified type |
<T extends ObjectReader> |
ObjectMapper.reader(JsonNodeFactory f)
Factory method for constructing
ObjectReader that will
use specified JsonNodeFactory for constructing JSON trees. |
<T extends ObjectReader> |
ObjectMapper.reader(com.fasterxml.jackson.core.type.TypeReference<?> type)
Factory method for constructing
ObjectReader that will
read or update instances of specified type |
<T extends ObjectReader> |
ObjectMapper.readerForUpdating(Object valueToUpdate)
Factory method for constructing
ObjectReader that will
update given Object (usually Bean, but can be a Collection or Map
as well, but NOT an array) with JSON data. |
<T extends ObjectReader> |
ObjectMapper.readerWithView(Class<?> view)
Factory method for constructing
ObjectReader that will
deserialize objects using specified JSON View (filter). |
Modifier and Type | Method and Description |
---|---|
protected ObjectReader |
ObjectReader._new(ObjectReader base,
DeserializationConfig config)
Overridable factory method called by various "withXxx()" methods
|
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 |
ObjectReader._new(ObjectReader base,
com.fasterxml.jackson.core.JsonFactory f)
Overridable factory method called by various "withXxx()" methods
|
protected ObjectReader |
ObjectMapper._newReader(DeserializationConfig config)
Factory method sub-classes must override, to produce
ObjectReader
instances of proper sub-type |
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 |
protected ObjectReader |
ObjectReader._with(DeserializationConfig newConfig) |
ObjectReader |
ObjectReader.forType(Class<?> valueType)
Method for constructing a new reader instance that is configured
to data bind into specified type.
|
ObjectReader |
ObjectReader.forType(JavaType valueType)
Method for constructing a new reader instance that is configured
to data bind into specified type.
|
ObjectReader |
ObjectReader.forType(com.fasterxml.jackson.core.type.TypeReference<?> valueTypeRef)
Method for constructing a new reader instance that is configured
to data bind into specified type.
|
ObjectReader |
ObjectReader.with(com.fasterxml.jackson.core.Base64Variant defaultBase64) |
ObjectReader |
ObjectReader.with(ContextAttributes attrs) |
ObjectReader |
ObjectReader.with(DeserializationConfig config) |
ObjectReader |
ObjectReader.with(DeserializationFeature feature)
Method for constructing a new reader instance that is configured
with specified feature enabled.
|
ObjectReader |
ObjectReader.with(DeserializationFeature first,
DeserializationFeature... other)
Method for constructing a new reader instance that is configured
with specified features enabled.
|
ObjectReader |
ObjectReader.with(com.fasterxml.jackson.core.FormatSchema schema)
Method for constructing a new instance with configuration that
passes specified
FormatSchema to JsonParser that
is constructed for parsing content. |
ObjectReader |
ObjectReader.with(InjectableValues injectableValues)
Method for constructing a new instance with configuration that uses
passed
InjectableValues to provide injectable values. |
ObjectReader |
ObjectReader.with(com.fasterxml.jackson.core.JsonFactory f)
Method for constructing a new reader instance with configuration that uses
passed
JsonFactory for constructing underlying Readers. |
ObjectReader |
ObjectReader.with(JsonNodeFactory f)
Method for constructing a new reader instance with configuration that uses
passed
JsonNodeFactory for constructing JsonNode
instances. |
ObjectReader |
ObjectReader.with(com.fasterxml.jackson.core.JsonParser.Feature feature)
Method for constructing a new reader instance that is configured
with specified feature enabled.
|
ObjectReader |
ObjectReader.with(Locale l) |
ObjectReader |
ObjectReader.with(TimeZone tz) |
ObjectReader |
ObjectReader.withAttribute(Object key,
Object value) |
ObjectReader |
ObjectReader.withAttributes(Map<Object,Object> attrs) |
ObjectReader |
ObjectReader.withFeatures(DeserializationFeature... features)
Method for constructing a new reader instance that is configured
with specified features enabled.
|
ObjectReader |
ObjectReader.withFeatures(com.fasterxml.jackson.core.JsonParser.Feature... features)
Method for constructing a new reader instance that is configured
with specified features enabled.
|
ObjectReader |
ObjectReader.withFormatDetection(DataFormatReaders readers)
Fluent factory method for constructing a reader that will try to
auto-detect underlying data format, using specified
DataFormatReaders . |
ObjectReader |
ObjectReader.withFormatDetection(ObjectReader... readers)
Fluent factory method for constructing a reader that will try to
auto-detect underlying data format, using specified list of
JsonFactory instances, and default DataFormatReaders settings
(for customized DataFormatReaders , you can construct instance yourself). |
ObjectReader |
ObjectReader.withHandler(DeserializationProblemHandler h) |
ObjectReader |
ObjectReader.without(DeserializationFeature feature)
Method for constructing a new reader instance that is configured
with specified feature disabled.
|
ObjectReader |
ObjectReader.without(DeserializationFeature first,
DeserializationFeature... other)
Method for constructing a new reader instance that is configured
with specified features disabled.
|
ObjectReader |
ObjectReader.without(com.fasterxml.jackson.core.JsonParser.Feature feature)
Method for constructing a new reader instance that is configured
with specified feature disabled.
|
ObjectReader |
ObjectReader.withoutAttribute(Object key) |
ObjectReader |
ObjectReader.withoutFeatures(DeserializationFeature... features)
Method for constructing a new reader instance that is configured
with specified features disabled.
|
ObjectReader |
ObjectReader.withoutFeatures(com.fasterxml.jackson.core.JsonParser.Feature... features)
Method for constructing a new reader instance that is configured
with specified features disabled.
|
ObjectReader |
ObjectReader.withRootName(String rootName)
Method for constructing a new instance with configuration that
specifies what root name to expect for "root name unwrapping".
|
ObjectReader |
ObjectReader.withType(Class<?> valueType)
Deprecated.
since 2.5 Use
forType(Class) instead |
ObjectReader |
ObjectReader.withType(JavaType valueType)
Deprecated.
since 2.5 Use
forType(JavaType) instead |
ObjectReader |
ObjectReader.withType(Type valueType)
Deprecated.
since 2.5 Use
forType(Class) instead |
ObjectReader |
ObjectReader.withType(com.fasterxml.jackson.core.type.TypeReference<?> valueTypeRef)
Deprecated.
since 2.5 Use
forType(TypeReference) instead |
ObjectReader |
ObjectReader.withValueToUpdate(Object value)
Method for constructing a new instance with configuration that
updates passed Object (as root value), instead of constructing
a new value.
|
ObjectReader |
ObjectReader.withView(Class<?> activeView)
Method for constructing a new instance with configuration that
uses specified View for filtering.
|
Modifier and Type | Method and Description |
---|---|
protected ObjectReader |
ObjectReader._new(ObjectReader base,
DeserializationConfig config)
Overridable factory method called by various "withXxx()" methods
|
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 |
ObjectReader._new(ObjectReader base,
com.fasterxml.jackson.core.JsonFactory f)
Overridable factory method called by various "withXxx()" methods
|
ObjectReader |
ObjectReader.withFormatDetection(ObjectReader... readers)
Fluent factory method for constructing a reader that will try to
auto-detect underlying data format, using specified list of
JsonFactory instances, and default DataFormatReaders settings
(for customized DataFormatReaders , you can construct instance yourself). |
Constructor and Description |
---|
ObjectReader(ObjectReader base,
DeserializationConfig config)
Copy constructor used when modifying simple feature flags
|
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.
|
ObjectReader(ObjectReader base,
com.fasterxml.jackson.core.JsonFactory f) |
Modifier and Type | Field and Description |
---|---|
protected ObjectReader |
DataFormatReaders.Match._match
Factory that produced sufficient match (if any)
|
protected ObjectReader[] |
DataFormatReaders._readers
Ordered list of readers which both represent data formats to
detect (in precedence order, starting with highest) and contain
factories used for actual detection.
|
Modifier and Type | Method and Description |
---|---|
ObjectReader |
DataFormatReaders.Match.getReader()
Accessor for
JsonFactory that represents format that data matched. |
Modifier and Type | Method and Description |
---|---|
DataFormatReaders.Match |
DataFormatReaders.AccessorForReader.createMatcher(ObjectReader match,
com.fasterxml.jackson.core.format.MatchStrength matchStrength) |
DataFormatReaders |
DataFormatReaders.with(ObjectReader[] readers) |
Constructor and Description |
---|
DataFormatReaders.Match(InputStream in,
byte[] buffered,
int bufferedStart,
int bufferedLength,
ObjectReader match,
com.fasterxml.jackson.core.format.MatchStrength strength) |
DataFormatReaders(ObjectReader... detectors) |
Constructor and Description |
---|
DataFormatReaders(Collection<ObjectReader> detectors) |
Copyright © 2014-2015 FasterXML. All Rights Reserved.