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 |
PropertyNamingStrategies.KebabCaseStrategy
Naming strategy similar to
PropertyNamingStrategies.SnakeCaseStrategy ,
but instead of underscores
as separators, uses hyphens. |
static class |
PropertyNamingStrategies.LowerCamelCaseStrategy
"No-operation" strategy that is equivalent to not specifying any
strategy: will simply return suggested standard bean naming as-is.
|
static class |
PropertyNamingStrategies.LowerCaseStrategy
Simple strategy where external name simply only uses lower-case characters,
and no separators.
|
static class |
PropertyNamingStrategies.LowerDotCaseStrategy
Naming strategy similar to
PropertyNamingStrategies.KebabCaseStrategy ,
but instead of hyphens
as separators, uses dots. |
static class |
PropertyNamingStrategies.NamingBase
Intermediate base class for simple implementations
|
static class |
PropertyNamingStrategies.SnakeCaseStrategy
A
PropertyNamingStrategy that translates typical camel case Java
property names to lower case JSON element names, separated by
underscores. |
static class |
PropertyNamingStrategies.UpperCamelCaseStrategy
A
PropertyNamingStrategy that translates typical camelCase Java
property names to PascalCase JSON element names (i.e., with a capital
first letter). |
static class |
PropertyNamingStrategies.UpperSnakeCaseStrategy
A
PropertyNamingStrategy that translates an input to the equivalent upper case snake
case. |
static class |
PropertyNamingStrategy.KebabCaseStrategy
Deprecated.
Since 2.12 use
PropertyNamingStrategies.KebabCaseStrategy instead
(see
databind#2715
for reason for deprecation) |
static class |
PropertyNamingStrategy.LowerCaseStrategy
Deprecated.
Since 2.12 use
PropertyNamingStrategies.LowerCaseStrategy instead
(see
databind#2715
for reason for deprecation) |
static class |
PropertyNamingStrategy.LowerDotCaseStrategy
Deprecated.
Since 2.12 use
PropertyNamingStrategies.LowerDotCaseStrategy instead
(see
databind#2715
for reason for deprecation) |
static class |
PropertyNamingStrategy.PropertyNamingStrategyBase
Deprecated.
Since 2.12 deprecated. See
databind#2715
for reasons for deprecation.
|
static class |
PropertyNamingStrategy.SnakeCaseStrategy
Deprecated.
Since 2.12 use
PropertyNamingStrategies.SnakeCaseStrategy instead
(see
databind#2715
for reason for deprecation) |
static class |
PropertyNamingStrategy.UpperCamelCaseStrategy
Deprecated.
Since 2.12 use
PropertyNamingStrategies.UpperCamelCaseStrategy instead
(see
databind#2715
for reason for deprecation) |
Modifier and Type | Field and Description |
---|---|
static PropertyNamingStrategy |
PropertyNamingStrategy.KEBAB_CASE
Deprecated.
Since 2.12 deprecated. Use
PropertyNamingStrategies.KEBAB_CASE instead.
See
databind#2715
for reasons for deprecation. |
static PropertyNamingStrategy |
PropertyNamingStrategies.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
Deprecated.
Since 2.12 deprecated. Use
PropertyNamingStrategies.LOWER_CAMEL_CASE instead.
See
databind#2715
for reasons for deprecation. |
static PropertyNamingStrategy |
PropertyNamingStrategies.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
Deprecated.
Since 2.12 deprecated. Use
PropertyNamingStrategies.LOWER_CASE instead.
See
databind#2715
for reasons for deprecation. |
static PropertyNamingStrategy |
PropertyNamingStrategies.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.LOWER_DOT_CASE
Deprecated.
Since 2.12 deprecated. Use
PropertyNamingStrategies.LOWER_DOT_CASE instead.
See
databind#2715
for reasons for deprecation. |
static PropertyNamingStrategy |
PropertyNamingStrategies.LOWER_DOT_CASE
Naming convention widely used as configuration properties name, where words are in
lower-case letters, separated by dots.
|
static PropertyNamingStrategy |
PropertyNamingStrategy.SNAKE_CASE
Deprecated.
Since 2.12 deprecated. Use
PropertyNamingStrategies.SNAKE_CASE instead.
See
databind#2715
for reasons for deprecation. |
static PropertyNamingStrategy |
PropertyNamingStrategies.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
Deprecated.
Since 2.12 deprecated. Use
PropertyNamingStrategies.UPPER_CAMEL_CASE instead.
See
databind#2715
for reasons for deprecation. |
static PropertyNamingStrategy |
PropertyNamingStrategies.UPPER_CAMEL_CASE
Naming convention used in languages like Pascal, where all words are capitalized
and no separator is used between words.
|
static PropertyNamingStrategy |
PropertyNamingStrategies.UPPER_SNAKE_CASE
Naming convention in which the words are in upper-case letters, separated by underscores.
|
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 |
---|---|
B |
MapperBuilder.propertyNamingStrategy(PropertyNamingStrategy s)
Method for configuring
PropertyNamingStrategy to use for adapting
POJO property names (internal) into content property names (external) |
T |
MapperConfigBase.with(PropertyNamingStrategy pns)
Method for constructing and returning a new instance with different
PropertyNamingStrategy
to use. |
BaseSettings |
BaseSettings.withPropertyNamingStrategy(PropertyNamingStrategy pns) |
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–2024 FasterXML. All rights reserved.