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 |
---|---|
protected ObjectReader |
ObjectReader._with(DeserializationConfig newConfig) |
ObjectReader |
ObjectMapper.reader()
Factory method for constructing
ObjectReader with
default settings. |
ObjectReader |
ObjectMapper.reader(Base64Variant defaultBase64)
Factory method for constructing
ObjectReader that will
use specified Base64 encoding variant for Base64-encoded binary data. |
ObjectReader |
ObjectMapper.reader(Class<?> type)
Factory method for constructing
ObjectReader that will
read or update instances of specified type |
ObjectReader |
ObjectMapper.reader(ContextAttributes attrs)
Factory method for constructing
ObjectReader that will
use specified default attributes. |
ObjectReader |
ObjectMapper.reader(DeserializationFeature feature)
Factory method for constructing
ObjectReader with
specified feature enabled (compared to settings that this
mapper instance has). |
ObjectReader |
ObjectMapper.reader(DeserializationFeature first,
DeserializationFeature... other)
Factory method for constructing
ObjectReader with
specified features enabled (compared to settings that this
mapper instance has). |
ObjectReader |
ObjectMapper.reader(FormatSchema schema)
Factory method for constructing
ObjectReader that will
pass specific schema object to JsonParser used for
reading content. |
ObjectReader |
ObjectMapper.reader(InjectableValues injectableValues)
Factory method for constructing
ObjectReader that will
use specified injectable values. |
ObjectReader |
ObjectMapper.reader(JavaType type)
Factory method for constructing
ObjectReader that will
read or update instances of specified type |
ObjectReader |
ObjectMapper.reader(JsonNodeFactory f)
Factory method for constructing
ObjectReader that will
use specified JsonNodeFactory for constructing JSON trees. |
ObjectReader |
ObjectMapper.reader(TypeReference<?> type)
Factory method for constructing
ObjectReader that will
read or update instances of specified type |
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. |
ObjectReader |
ObjectMapper.readerWithView(Class<?> view)
Factory method for constructing
ObjectReader that will
deserialize objects using specified JSON View (filter). |
ObjectReader |
ObjectReader.with(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(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(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(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.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.withoutAttribute(Object key) |
ObjectReader |
ObjectReader.withoutFeatures(DeserializationFeature... 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)
Method for constructing a new reader instance that is configured
to data bind into specified type.
|
ObjectReader |
ObjectReader.withType(JavaType valueType)
Method for constructing a new reader instance that is configured
to data bind into specified type.
|
ObjectReader |
ObjectReader.withType(Type valueType)
Method for constructing a new reader instance that is configured
to data bind into specified type.
|
ObjectReader |
ObjectReader.withType(TypeReference<?> valueTypeRef)
Method for constructing a new reader instance that is configured
to data bind into specified type.
|
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 |
---|---|
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,
FormatSchema schema,
InjectableValues injectableValues,
DataFormatReaders dataFormatReaders)
Copy constructor used for building variations.
|
ObjectReader(ObjectReader base,
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,
MatchStrength matchStrength) |
DataFormatReaders |
DataFormatReaders.with(ObjectReader[] readers) |
Constructor and Description |
---|
DataFormatReaders.Match(InputStream in,
byte[] buffered,
int bufferedStart,
int bufferedLength,
ObjectReader match,
MatchStrength strength) |
DataFormatReaders(ObjectReader... detectors) |
Constructor and Description |
---|
DataFormatReaders(Collection<ObjectReader> detectors) |
Copyright © 2014 FasterXML. All Rights Reserved.