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
Object mapper will convert Json content to ant from
basic Java wrapper types (Integer, Boolean, Double),
Collection types (List, Map), Java Beans,
Strings and nulls. |
Modifier and Type | Method and Description |
---|---|
ObjectReader |
ObjectMapper.reader()
Factory method for constructing
ObjectReader with
default settings. |
ObjectReader |
ObjectMapper.reader(java.lang.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(java.lang.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(java.lang.Object valueToUpdate)
Deprecated.
Since 1.9, use
ObjectMapper.readerForUpdating(java.lang.Object) instead. |
ObjectReader |
ObjectReader.withInjectableValues(InjectableValues injectableValues) |
ObjectReader |
ObjectReader.withNodeFactory(JsonNodeFactory f) |
ObjectReader |
ObjectReader.withSchema(FormatSchema schema) |
ObjectReader |
ObjectReader.withType(java.lang.Class<?> valueType) |
ObjectReader |
ObjectReader.withType(JavaType valueType) |
ObjectReader |
ObjectReader.withType(java.lang.reflect.Type valueType) |
ObjectReader |
ObjectReader.withType(TypeReference<?> valueTypeRef) |
ObjectReader |
ObjectReader.withValueToUpdate(java.lang.Object value) |
Constructor and Description |
---|
ObjectReader(ObjectReader base,
DeserializationConfig config,
JavaType valueType,
java.lang.Object valueToUpdate,
FormatSchema schema,
InjectableValues injectableValues)
Copy constructor used for building variations.
|