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.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.KebabCaseStrategy
Naming strategy similar to
PropertyNamingStrategy.SnakeCaseStrategy , but instead of underscores
as separators, uses hyphens. |
static class |
PropertyNamingStrategy.LowerCaseStrategy
Simple strategy where external name simply only uses lower-case characters,
and no separators.
|
static class |
PropertyNamingStrategy.LowerCaseWithUnderscoresStrategy
Deprecated.
In 2.7 use
PropertyNamingStrategy.SnakeCaseStrategy instead |
static class |
PropertyNamingStrategy.PascalCaseStrategy
Deprecated.
In 2.7 use
PropertyNamingStrategy.UpperCamelCaseStrategy instead |
static class |
PropertyNamingStrategy.PropertyNamingStrategyBase |
static class |
PropertyNamingStrategy.SnakeCaseStrategy
A
PropertyNamingStrategy that translates typical camel case Java
property names to lower case JSON element names, separated by
underscores. |
static class |
PropertyNamingStrategy.UpperCamelCaseStrategy
A
PropertyNamingStrategy that translates typical camelCase Java
property names to PascalCase JSON element names (i.e., with a capital
first letter). |
Modifier and Type | Field and Description |
---|---|
static PropertyNamingStrategy |
PropertyNamingStrategy.CAMEL_CASE_TO_LOWER_CASE_WITH_UNDERSCORES
Deprecated.
Since 2.7 use
SNAKE_CASE instead; |
static PropertyNamingStrategy |
PropertyNamingStrategy.KEBAB_CASE
Naming convention used in languages like Lisp, where words are in lower-case
letters, separated by hyphens.
|
static PropertyNamingStrategy |
PropertyNamingStrategy.LOWER_CAMEL_CASE
Naming convention used in Java, where words other than first are capitalized
and no separator is used between words.
|
static PropertyNamingStrategy |
PropertyNamingStrategy.LOWER_CASE
Naming convention in which all words of the logical name are in lower case, and
no separator is used between words.
|
static PropertyNamingStrategy |
PropertyNamingStrategy.PASCAL_CASE_TO_CAMEL_CASE
Deprecated.
Since 2.7 use
UPPER_CAMEL_CASE instead; |
static PropertyNamingStrategy |
PropertyNamingStrategy.SNAKE_CASE
Naming convention used in languages like C, where words are in lower-case
letters, separated by underscores.
|
static PropertyNamingStrategy |
PropertyNamingStrategy.UPPER_CAMEL_CASE
Naming convention used in languages like Pascal, where words are capitalized
and no separator is used between words.
|
Modifier and Type | Method and Description |
---|---|
PropertyNamingStrategy |
ObjectMapper.getPropertyNamingStrategy() |
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.
|
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 |
---|---|
T |
MapperConfigBase.with(PropertyNamingStrategy pns)
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,
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(Map<String,POJOPropertyBuilder> propMap,
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 © 2008–2018 FasterXML. All rights reserved.