Uses of Class
tools.jackson.databind.ObjectMapper
Packages that use ObjectMapper
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.Package that contains most of configuration-related classes;
exception being couple of most-commonly used configuration
things (like Feature enumerations) that are at the
main level (
tools.jackson.databind
).-
Uses of ObjectMapper in tools.jackson.databind
Methods in tools.jackson.databind with type parameters of type ObjectMapperModifier and TypeMethodDescription<M extends ObjectMapper,
B extends MapperBuilder<M, B>>
MapperBuilder<M,B> ObjectMapper.rebuild()
Method for creating a newMapperBuilder
for constructing differently configuredObjectMapper
instance, starting with current configuration including base settings and registered modules.Constructors in tools.jackson.databind with parameters of type ObjectMapperModifierConstructorDescriptionprotected
ObjectReader
(ObjectMapper mapper, DeserializationConfig config) Constructor used byObjectMapper
for initial instantiationprotected
ObjectReader
(ObjectMapper mapper, DeserializationConfig config, JavaType valueType, Object valueToUpdate, tools.jackson.core.FormatSchema schema, InjectableValues injectableValues) Constructor called when a root deserializer should be fetched based on other configuration.protected
ObjectWriter
(ObjectMapper mapper, SerializationConfig config) Alternative constructor for initial instantiation byObjectMapper
protected
ObjectWriter
(ObjectMapper mapper, SerializationConfig config, tools.jackson.core.FormatSchema s) Alternative constructor for initial instantiation byObjectMapper
protected
ObjectWriter
(ObjectMapper mapper, SerializationConfig config, JavaType rootType, tools.jackson.core.PrettyPrinter pp) Constructor used byObjectMapper
for initial instantiation -
Uses of ObjectMapper in tools.jackson.databind.cfg
Classes in tools.jackson.databind.cfg with type parameters of type ObjectMapperModifier and TypeClassDescriptionclass
MapperBuilder<M extends ObjectMapper,
B extends MapperBuilder<M, B>> SinceObjectMapper
instances are immutable in Jackson 3.x for full thread-safety, we need means to construct configured instances. -
Uses of ObjectMapper in tools.jackson.databind.json
Subclasses of ObjectMapper in tools.jackson.databind.json