Package | Description |
---|---|
com.fasterxml.jackson.databind |
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 |
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. |
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). |
Copyright © 2014 FasterXML. All Rights Reserved.