Uses of Class
tools.jackson.databind.ObjectReader
Packages that use ObjectReader
Package
Description
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.-
Uses of ObjectReader in tools.jackson.databind
Methods in tools.jackson.databind that return ObjectReaderModifier and TypeMethodDescriptionprotected ObjectReader
ObjectReader._new
(ObjectReader base, DeserializationConfig config) Factory method called by various "withXxx()" methodsprotected ObjectReader
ObjectReader._new
(ObjectReader base, DeserializationConfig config, JavaType valueType, ValueDeserializer<Object> rootDeser, Object valueToUpdate, FormatSchema schema, InjectableValues injectableValues) Factory method called by various "withXxx()" methodsprotected ObjectReader
ObjectMapper._newReader
(DeserializationConfig config) Factory method sub-classes must override, to produceObjectReader
instances of proper sub-typeprotected ObjectReader
ObjectMapper._newReader
(DeserializationConfig config, JavaType valueType, Object valueToUpdate, FormatSchema schema, InjectableValues injectableValues) Factory method sub-classes must override, to produceObjectReader
instances of proper sub-typeprotected final ObjectReader
ObjectReader._with
(DeserializationConfig newConfig) Convenience method to bind fromJsonPointer
.ObjectReader.at
(JsonPointer pointer) Convenience method to bind fromJsonPointer
JsonPointerBasedFilter
is registered and will be used for parsing later.Method for constructing a new reader instance that is configured to data bind into specified type.ObjectReader.forType
(TypeReference<?> valueTypeRef) Method for constructing a new reader instance that is configured to data bind into specified type.Method for constructing a new reader instance that is configured to data bind into specified type.ObjectMapper.reader()
Factory method for constructingObjectReader
with default settings.ObjectMapper.reader
(Base64Variant defaultBase64) Factory method for constructingObjectReader
that will use specified Base64 encoding variant for Base64-encoded binary data.ObjectMapper.reader
(FormatSchema schema) Factory method for constructingObjectReader
that will pass specific schema object toJsonParser
used for reading content.ObjectMapper.reader
(ContextAttributes attrs) Factory method for constructingObjectReader
that will use specified default attributes.ObjectMapper.reader
(DatatypeFeature feature) Factory method for constructingObjectReader
with specified feature enabled (compared to settings that this mapper instance has).ObjectMapper.reader
(DeserializationFeature feature) Factory method for constructingObjectReader
with specified feature enabled (compared to settings that this mapper instance has).ObjectMapper.reader
(DeserializationFeature first, DeserializationFeature... other) Factory method for constructingObjectReader
with specified features enabled (compared to settings that this mapper instance has).ObjectMapper.reader
(InjectableValues injectableValues) Factory method for constructingObjectReader
that will use specified injectable values.ObjectMapper.reader
(JsonNodeFactory nodeFactory) Factory method for constructingObjectReader
that will use specifiedJsonNodeFactory
for constructing JSON trees.Factory method for constructingObjectReader
that will read or update instances of specified typeObjectMapper.readerFor
(TypeReference<?> typeRef) Factory method for constructingObjectReader
that will read or update instances of specified typeFactory method for constructingObjectReader
that will read or update instances of specified typeObjectMapper.readerForArrayOf
(Class<?> type) Factory method for constructingObjectReader
that will read values of a typeList<type>
.ObjectMapper.readerForListOf
(Class<?> type) Factory method for constructingObjectReader
that will read or update instances of a typeList<type>
.ObjectMapper.readerForMapOf
(Class<?> type) Factory method for constructingObjectReader
that will read or update instances of a typeMap<String, type>
Functionally same as:ObjectMapper.readerForUpdating
(Object valueToUpdate) Factory method for constructingObjectReader
that will update given Object (usually Bean, but can be a Collection or Map as well, but NOT an array) with JSON data.ObjectMapper.readerWithView
(Class<?> view) Factory method for constructingObjectReader
that will deserialize objects using specified JSON View (filter).ObjectReader.with
(Base64Variant defaultBase64) ObjectReader.with
(FormatFeature feature) Method for constructing a new reader instance that is configured with specified feature enabled.ObjectReader.with
(FormatSchema schema) Method for constructing a new instance with configuration that passes specifiedFormatSchema
toJsonParser
that is constructed for parsing content.ObjectReader.with
(StreamReadFeature feature) Method for constructing a new reader instance that is configured with specified feature enabled.ObjectReader.with
(ContextAttributes attrs) Mutant factory for overriding set of (default) attributes forObjectReader
to use.ObjectReader.with
(DatatypeFeature feature) Method for constructing a new reader instance that is configured with specified feature enabled.ObjectReader.with
(DeserializationConfig config) Mutant factory method that will construct a new instance that has specified underlyingDeserializationConfig
.ObjectReader.with
(DeserializationFeature feature) Method for constructing a new reader instance that is configured with specified feature enabled.ObjectReader.with
(DeserializationFeature first, DeserializationFeature... other) Method for constructing a new reader instance that is configured with specified features enabled.ObjectReader.with
(InjectableValues injectableValues) Method for constructing a new instance with configuration that uses passedInjectableValues
to provide injectable values.ObjectReader.with
(JsonNodeFactory f) Method for constructing a new reader instance with configuration that uses passedJsonNodeFactory
for constructingJsonNode
instances.ObjectReader.withAttribute
(Object key, Object value) ObjectReader.withAttributes
(Map<?, ?> attrs) ObjectReader.withFeatures
(FormatFeature... features) Method for constructing a new reader instance that is configured with specified features enabled.ObjectReader.withFeatures
(StreamReadFeature... features) Method for constructing a new reader instance that is configured with specified features enabled.ObjectReader.withFeatures
(DatatypeFeature... features) Method for constructing a new reader instance that is configured with specified features enabled.ObjectReader.withFeatures
(DeserializationFeature... features) Method for constructing a new reader instance that is configured with specified features enabled.ObjectReader.withHandler
(DeserializationProblemHandler h) ObjectReader.without
(FormatFeature feature) Method for constructing a new reader instance that is configured with specified feature disabled.ObjectReader.without
(StreamReadFeature feature) Method for constructing a new reader instance that is configured with specified feature disabled.ObjectReader.without
(DatatypeFeature feature) Method for constructing a new reader instance that is configured with specified feature disabled.ObjectReader.without
(DeserializationFeature feature) Method for constructing a new reader instance that is configured with specified feature disabled.ObjectReader.without
(DeserializationFeature first, DeserializationFeature... other) Method for constructing a new reader instance that is configured with specified features disabled.ObjectReader.withoutAttribute
(Object key) ObjectReader.withoutFeatures
(FormatFeature... features) Method for constructing a new reader instance that is configured with specified features disabled.ObjectReader.withoutFeatures
(StreamReadFeature... features) Method for constructing a new reader instance that is configured with specified features disabled.ObjectReader.withoutFeatures
(DatatypeFeature... features) Method for constructing a new reader instance that is configured with specified features disabled.ObjectReader.withoutFeatures
(DeserializationFeature... features) Method for constructing a new reader instance that is configured with specified features disabled.ObjectReader.withoutRootName()
Convenience method that is same as calling:withRootName("")
which will forcibly prevent use of root name wrapping when writing values with thisObjectReader
.ObjectReader.withRootName
(String rootName) Method for constructing a new instance with configuration that specifies what root name to expect for "root name unwrapping".ObjectReader.withRootName
(PropertyName rootName) 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.Method for constructing a new instance with configuration that uses specified View for filtering.Methods in tools.jackson.databind with parameters of type ObjectReaderModifier and TypeMethodDescriptionprotected ObjectReader
ObjectReader._new
(ObjectReader base, DeserializationConfig config) Factory method called by various "withXxx()" methodsprotected ObjectReader
ObjectReader._new
(ObjectReader base, DeserializationConfig config, JavaType valueType, ValueDeserializer<Object> rootDeser, Object valueToUpdate, FormatSchema schema, InjectableValues injectableValues) Factory method called by various "withXxx()" methodsConstructors in tools.jackson.databind with parameters of type ObjectReaderModifierConstructorDescriptionprotected
ObjectReader
(ObjectReader base, TokenFilter filter) protected
ObjectReader
(ObjectReader base, DeserializationConfig config) Copy constructor used when modifying simple feature flagsprotected
ObjectReader
(ObjectReader base, DeserializationConfig config, JavaType valueType, ValueDeserializer<Object> rootDeser, Object valueToUpdate, FormatSchema schema, InjectableValues injectableValues) Copy constructor used for building variations.