Uses of Class
org.codehaus.jackson.map.ObjectReader
Packages that use ObjectReader
Package
Description
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-
Uses of ObjectReader in org.codehaus.jackson.map
Methods in org.codehaus.jackson.map that return ObjectReaderModifier and TypeMethodDescriptionObjectMapper.reader()Factory method for constructingObjectReaderwith default settings.Factory method for constructingObjectReaderthat will read or update instances of specified typeObjectMapper.reader(FormatSchema schema) Factory method for constructingObjectReaderthat will pass specific schema object toJsonParserused for reading content.ObjectMapper.reader(InjectableValues injectableValues) Factory method for constructingObjectReaderthat will use specified injectable values.ObjectMapper.reader(JsonNodeFactory f) Factory method for constructingObjectReaderthat will use specifiedJsonNodeFactoryfor constructing JSON trees.Factory method for constructingObjectReaderthat will read or update instances of specified typeObjectMapper.reader(TypeReference<?> type) Factory method for constructingObjectReaderthat will read or update instances of specified typeObjectMapper.readerForUpdating(Object valueToUpdate) Factory method for constructingObjectReaderthat will update given Object (usually Bean, but can be a Collection or Map as well, but NOT an array) with JSON data.ObjectMapper.schemaBasedReader(FormatSchema schema) Deprecated.ObjectMapper.updatingReader(Object valueToUpdate) Deprecated.Since 1.9, useObjectMapper.readerForUpdating(Object)instead.ObjectReader.withInjectableValues(InjectableValues injectableValues) Method for constructing a new instance with configuration that uses passedInjectableValuesto provide injectable values.ObjectReader.withNodeFactory(JsonNodeFactory f) Method for constructing a new reader instance with configuration that uses passedJsonNodeFactoryfor constructingJsonNodeinstances.ObjectReader.withSchema(FormatSchema schema) Method for constructing a new instance with configuration that passes specifiedFormatSchematoJsonParserthat is constructed for parsing content.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.Method for constructing a new reader instance that is configured to data bind into specified type.ObjectReader.withType(TypeReference<?> valueTypeRef) Method for constructing a new reader instance that is configured to data bind into specified type.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.Constructors in org.codehaus.jackson.map with parameters of type ObjectReaderModifierConstructorDescriptionprotectedObjectReader(ObjectReader base, DeserializationConfig config, JavaType valueType, Object valueToUpdate, FormatSchema schema, InjectableValues injectableValues) Copy constructor used for building variations.
ObjectMapper.reader(FormatSchema)instead.