Package | Description |
---|---|
org.codehaus.jackson.map |
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 |
Modifier and Type | Method and Description |
---|---|
ObjectReader |
ObjectMapper.reader()
Factory method for constructing
ObjectReader with
default settings. |
ObjectReader |
ObjectMapper.reader(Class<?> type)
Factory method for constructing
ObjectReader that will
read or update instances of specified type |
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.schemaBasedReader(FormatSchema schema)
Deprecated.
Since 1.9, use
ObjectMapper.reader(FormatSchema) instead. |
ObjectReader |
ObjectMapper.updatingReader(Object valueToUpdate)
Deprecated.
Since 1.9, use
ObjectMapper.readerForUpdating(java.lang.Object) instead. |
ObjectReader |
ObjectReader.withInjectableValues(InjectableValues injectableValues)
Method for constructing a new instance with configuration that uses
passed
InjectableValues to provide injectable values. |
ObjectReader |
ObjectReader.withNodeFactory(JsonNodeFactory f)
Method for constructing a new reader instance with configuration that uses
passed
JsonNodeFactory for constructing JsonNode
instances. |
ObjectReader |
ObjectReader.withSchema(FormatSchema schema)
Method for constructing a new instance with configuration that
passes specified
FormatSchema to JsonParser that
is constructed for parsing content. |
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.
|
Constructor and Description |
---|
ObjectReader(ObjectReader base,
DeserializationConfig config,
JavaType valueType,
Object valueToUpdate,
FormatSchema schema,
InjectableValues injectableValues)
Copy constructor used for building variations.
|