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.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.introspect |
Functionality needed for Bean introspection, required for detecting
accessors and mutators for Beans, as well as locating and handling
method annotations.
|
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 | Class and Description |
---|---|
static class |
PropertyNamingStrategy.LowerCaseStrategy
Simple strategy where external name simply only uses lower-case characters,
and no separators.
|
static class |
PropertyNamingStrategy.LowerCaseWithUnderscoresStrategy
A
PropertyNamingStrategy that translates typical camel case Java
property names to lower case JSON element names, separated by
underscores. |
static class |
PropertyNamingStrategy.PascalCaseStrategy
A
PropertyNamingStrategy that translates typical camelCase Java
property names to PascalCase JSON element names (i.e., with a capital
first letter). |
static class |
PropertyNamingStrategy.PropertyNamingStrategyBase |
Modifier and Type | Field and Description |
---|---|
static PropertyNamingStrategy |
PropertyNamingStrategy.CAMEL_CASE_TO_LOWER_CASE_WITH_UNDERSCORES
See
PropertyNamingStrategy.LowerCaseWithUnderscoresStrategy for details. |
static PropertyNamingStrategy |
PropertyNamingStrategy.LOWER_CASE
See
PropertyNamingStrategy.LowerCaseStrategy for details. |
static PropertyNamingStrategy |
PropertyNamingStrategy.PASCAL_CASE_TO_CAMEL_CASE
See
PropertyNamingStrategy.PascalCaseStrategy for details. |
Modifier and Type | Method and Description |
---|---|
void |
Module.SetupContext.setNamingStrategy(PropertyNamingStrategy naming)
Method that may be used to override naming strategy that is used
by
ObjectMapper . |
ObjectMapper |
ObjectMapper.setPropertyNamingStrategy(PropertyNamingStrategy s)
Method for setting custom property naming strategy to use.
|
SerializationConfig |
SerializationConfig.with(PropertyNamingStrategy pns) |
DeserializationConfig |
DeserializationConfig.with(PropertyNamingStrategy pns) |
Modifier and Type | Field and Description |
---|---|
protected PropertyNamingStrategy |
BaseSettings._propertyNamingStrategy
Custom property naming strategy in use, if any.
|
Modifier and Type | Method and Description |
---|---|
PropertyNamingStrategy |
MapperConfig.getPropertyNamingStrategy() |
PropertyNamingStrategy |
BaseSettings.getPropertyNamingStrategy() |
PropertyNamingStrategy |
HandlerInstantiator.namingStrategyInstance(MapperConfig<?> config,
Annotated annotated,
Class<?> implClass)
Method called to construct a NamingStrategy instance used for specified
class.
|
Modifier and Type | Method and Description |
---|---|
abstract T |
MapperConfigBase.with(PropertyNamingStrategy strategy)
Method for constructing and returning a new instance with different
PropertyNamingStrategy
to use. |
BaseSettings |
BaseSettings.withPropertyNamingStrategy(PropertyNamingStrategy pns) |
Constructor and Description |
---|
BaseSettings(ClassIntrospector ci,
AnnotationIntrospector ai,
VisibilityChecker<?> vc,
PropertyNamingStrategy pns,
TypeFactory tf,
TypeResolverBuilder<?> typer,
DateFormat dateFormat,
HandlerInstantiator hi,
Locale locale,
TimeZone tz,
Base64Variant defaultBase64) |
Modifier and Type | Method and Description |
---|---|
protected void |
POJOPropertiesCollector._renameUsing(PropertyNamingStrategy naming) |
Modifier and Type | Field and Description |
---|---|
protected PropertyNamingStrategy |
SimpleModule._namingStrategy |
Modifier and Type | Method and Description |
---|---|
protected SimpleModule |
SimpleModule.setNamingStrategy(PropertyNamingStrategy naming) |
Copyright © 2014 FasterXML. All Rights Reserved.