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.cfg |
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 (
com.fasterxml.jackson.databind ). |
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) . |
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. |
Iterable<? extends Module> |
Module.getDependencies()
Returns the list of dependent modules this module has, if any.
|
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<? extends Module> modules)
Convenience method for registering specified modules in order;
functionally equivalent to:
|
Modifier and Type | Method and Description |
---|---|
static List<Module> |
MapperBuilder.findModules()
Method for locating available methods, using JDK
ServiceLoader
facility, along with module-provided SPI. |
static List<Module> |
MapperBuilder.findModules(ClassLoader classLoader)
Method for locating available methods, using JDK
ServiceLoader
facility, along with module-provided SPI. |
Modifier and Type | Method and Description |
---|---|
B |
MapperBuilder.addModule(Module module) |
B |
MapperBuilder.addModules(Module... modules) |
Modifier and Type | Method and Description |
---|---|
B |
MapperBuilder.addModules(Iterable<? extends Module> modules) |
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). |
Copyright © 2008–2022 FasterXML. All rights reserved.