|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
ObjectMapper
class, as well
as convenience methods included in
JsonParser
See:
Description
Interface Summary | |
---|---|
ClassIntrospector.MixInResolver | Interface used for decoupling details of how mix-in annotation definitions are accessed (via this interface), and how they are stored (defined by classes that implement the interface) |
JsonSerializable | Deprecated. Use JsonSerializableWithType instead |
JsonSerializableWithType | Interface that is to replace JsonSerializable to
allow for dynamic type information embedding. |
MapperConfig<T extends MapperConfig<T>> | Interface that defines functionality accessible through both serialization and deserialization configuration objects; accessors to mode-independent configuration settings and such. |
ResolvableDeserializer | Interface used to indicate deserializers that want to do post-processing
after construction and being added to DeserializerProvider ,
but before being used. |
ResolvableSerializer | Interface used to indicate serializers that want to do post-processing
after construction and being added to SerializerProvider ,
but before being used. |
Class Summary | |
---|---|
AnnotationIntrospector | Abstract class that defines API used for introspecting annotation-based configuration for serialization and deserialization. |
AnnotationIntrospector.Pair | Helper class that allows using 2 introspectors such that one introspector acts as the primary one to use; and second one as a fallback used if the primary does not provide conclusive or useful result for a method. |
BeanDescription | Basic container for information gathered by ClassIntrospector to
help in constructing serializers and deserializers. |
ClassIntrospector<T extends BeanDescription> | Helper class used to introspect features of POJO value classes used with Jackson. |
DeserializationConfig | Object that contains baseline configuration for deserialization process. |
DeserializationContext | Context for deserialization process. |
DeserializationProblemHandler | This is the class that can be registered (via
DeserializationConfig object owner by
ObjectMapper ) to get calledn when a potentially
recoverable problem is encountered during deserialization
process. |
DeserializerFactory | Abstract class that defines API used by DeserializerProvider
to obtain actual
JsonDeserializer instances from multiple distinct factories. |
DeserializerProvider | Abstract class that defines API used by ObjectMapper and
JsonDeserializer s to obtain deserializers capable of
re-constructing instances of handled type from JSON content. |
JsonDeserializer<T> | Abstract class that defines API used by ObjectMapper (and
other chained JsonDeserializer s too) to deserialize Objects of
arbitrary types from JSON, using provided JsonParser . |
JsonDeserializer.None | This marker class is only to be used with annotations, to indicate that no deserializer is configured. |
JsonMappingException.Reference | Simple bean class used to contain references. |
JsonSerializer<T> | Abstract class that defines API used by ObjectMapper (and
other chained JsonSerializer s too) to serialize Objects of
arbitrary types into JSON, using provided JsonGenerator . |
JsonSerializer.None | This marker class is only to be used with annotations, to indicate that no serializer is configured. |
KeyDeserializer | Abstract class that defines API used for deserializing Json content field names into Java Map keys. |
KeyDeserializer.None | This marker class is only to be used with annotations, to indicate that no deserializer is configured. |
MappingJsonFactory | Sub-class of JsonFactory that will create a proper
ObjectCodec to allow seamless conversions between
Json content and Java objects (POJOs). |
ObjectMapper | This mapper (or, data binder, or codec) provides functionality for conversting between Java objects (instances of JDK provided core classes, beans), and matching JSON constructs. |
ObjectMapper.DefaultTypeResolverBuilder | Customized TypeResolverBuilder that provides
resolver builders based on its configuration. |
ObjectWriter | Builder object that can be used for per-serialization configuration of serialization parameters, such as JSON View and root type to use. |
SerializationConfig | Object that contains baseline configuration for serialization process. |
SerializerFactory | Abstract class that defines API used by SerializerProvider
to obtain actual
JsonSerializer instances from multiple distinct factories. |
SerializerProvider | Abstract class that defines API used by ObjectMapper and
JsonSerializer s to obtain serializers capable of serializing
instances of specific types. |
TreeMapper | Deprecated. Use ObjectMapper instead |
TypeDeserializer | Interface for deserializing type information from JSON content, to type-safely deserialize data into correct polymorphic instance (when type inclusion has been enabled for type handled). |
TypeSerializer | Interface for serializing type information regarding instances of specified base type (super class), so that exact subtype can be properly deserialized later on. |
Enum Summary | |
---|---|
DeserializationConfig.Feature | Enumeration that defines togglable features that guide the serialization feature. |
ObjectMapper.DefaultTyping | Enumeration used with ObjectMapper.enableDefaultTyping()
to specify what kind of types (classes) default typing should
be used for. |
SerializationConfig.Feature | Enumeration that defines togglable features that guide the serialization feature. |
Exception Summary | |
---|---|
JsonMappingException | Checked exception used to signal fatal problems with mapping of content. |
RuntimeJsonMappingException | Wrapper used when interface does not allow throwing a checked
JsonMappingException |
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.
Tree mapper builds dynamically typed tree of JsonNode
s
from Json content (and writes such trees as Json),
similar to how DOM model works with xml.
Main benefits over Object mapping are:
|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |