Package | Description |
---|---|
com.fasterxml.jackson.databind |
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. |
com.fasterxml.jackson.databind.module |
Package that contains classes and interfaces to help implement
custom extension
Module s
(which are registered using
ObjectMapper.registerModule(com.fasterxml.jackson.databind.Module) . |
com.fasterxml.jackson.datatype.jdk8 | |
com.fasterxml.jackson.datatype.jsr310 | |
com.fasterxml.jackson.module.jaxb |
Package that contains support for using JAXB annotations for
configuring Jackson data-binding aspects.
|
Modifier and Type | Method and Description |
---|---|
static List<Module> |
ObjectMapper.findModules()
Method for locating available methods, using JDK
ServiceLoader
facility, along with module-provided SPI. |
static List<Module> |
ObjectMapper.findModules(ClassLoader classLoader)
Method for locating available methods, using JDK
ServiceLoader
facility, along with module-provided SPI. |
Modifier and Type | Method and Description |
---|---|
ObjectMapper |
ObjectMapper.registerModule(Module module)
Method for registering a module that can extend functionality
provided by this mapper; for example, by adding providers for
custom serializers and deserializers.
|
ObjectMapper |
ObjectMapper.registerModules(Module... modules)
Convenience method for registering specified modules in order;
functionally equivalent to:
|
Modifier and Type | Method and Description |
---|---|
ObjectMapper |
ObjectMapper.registerModules(Iterable<Module> modules)
Convenience method for registering specified modules in order;
functionally equivalent to:
|
Modifier and Type | Class and Description |
---|---|
class |
SimpleModule
Vanilla
Module implementation that allows registration
of serializers and deserializers, bean serializer
and deserializer modifiers, registration of subtypes and mix-ins
as well as some other commonly
needed aspects (addition of custom AbstractTypeResolver s,
ValueInstantiator s). |
Modifier and Type | Class and Description |
---|---|
class |
Jdk8Module |
Modifier and Type | Class and Description |
---|---|
class |
JavaTimeModule
Class that registers capability of serializing
java.time objects with the Jackson core. |
class |
JSR310Module
Deprecated.
Replaced by
JavaTimeModule since Jackson 2.7, see above for
details on differences in the default configuration. |
Modifier and Type | Class and Description |
---|---|
class |
JaxbAnnotationModule
Module that can be registered to add support for JAXB annotations.
|
Copyright © 2017 JBoss by Red Hat. All rights reserved.