java.lang.Object
tools.jackson.databind.PropertyNamingStrategies
- All Implemented Interfaces:
Serializable
Container for standard
PropertyNamingStrategy implementations
and singleton instances.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classNaming strategy similar toPropertyNamingStrategies.SnakeCaseStrategy, but instead of underscores as separators, uses hyphens.static class"No-operation" strategy that is equivalent to not specifying any strategy: will simply return suggested standard bean naming as-is.static classSimple strategy where external name simply only uses lower-case characters, and no separators.static classNaming strategy similar toPropertyNamingStrategies.KebabCaseStrategy, but instead of hyphens as separators, uses dots.static classIntermediate base class for simple implementationsstatic classAPropertyNamingStrategythat translates typical camel case Java property names to lower case JSON element names, separated by underscores.static classAPropertyNamingStrategythat translates typical camelCase Java property names to PascalCase JSON element names (i.e., with a capital first letter).static classAPropertyNamingStrategythat translates an input to the equivalent upper case snake case. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PropertyNamingStrategyNaming convention used in languages like Lisp, where words are in lower-case letters, separated by hyphens.static final PropertyNamingStrategyNaming convention used in Java, where words other than first are capitalized and no separator is used between words.static final PropertyNamingStrategyNaming convention in which all words of the logical name are in lower case, and no separator is used between words.static final PropertyNamingStrategyNaming convention widely used as configuration properties name, where words are in lower-case letters, separated by dots.static final PropertyNamingStrategyNaming convention used in languages like C, where words are in lower-case letters, separated by underscores.static final PropertyNamingStrategyNaming convention used in languages like Pascal, where all words are capitalized and no separator is used between words.static final PropertyNamingStrategyNaming convention in which the words are in upper-case letters, separated by underscores. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
LOWER_CAMEL_CASE
Naming convention used in Java, where words other than first are capitalized and no separator is used between words. Since this is the native Java naming convention, naming strategy will not do any transformation between names in data (JSON) and POJOS.Example external property names would be "numberValue", "namingStrategy", "theDefiniteProof".
-
UPPER_CAMEL_CASE
Naming convention used in languages like Pascal, where all words are capitalized and no separator is used between words. SeePropertyNamingStrategies.UpperCamelCaseStrategyfor details.Example external property names would be "NumberValue", "NamingStrategy", "TheDefiniteProof".
-
SNAKE_CASE
Naming convention used in languages like C, where words are in lower-case letters, separated by underscores. SeePropertyNamingStrategies.SnakeCaseStrategyfor details.Example external property names would be "number_value", "naming_strategy", "the_definite_proof".
-
UPPER_SNAKE_CASE
Naming convention in which the words are in upper-case letters, separated by underscores. SeePropertyNamingStrategies.UpperSnakeCaseStrategyfor details. -
LOWER_CASE
Naming convention in which all words of the logical name are in lower case, and no separator is used between words. SeePropertyNamingStrategies.LowerCaseStrategyfor details.Example external property names would be "numbervalue", "namingstrategy", "thedefiniteproof".
-
KEBAB_CASE
Naming convention used in languages like Lisp, where words are in lower-case letters, separated by hyphens. SeePropertyNamingStrategies.KebabCaseStrategyfor details.Example external property names would be "number-value", "naming-strategy", "the-definite-proof".
-
LOWER_DOT_CASE
Naming convention widely used as configuration properties name, where words are in lower-case letters, separated by dots. SeePropertyNamingStrategies.LowerDotCaseStrategyfor details.Example external property names would be "number.value", "naming.strategy", "the.definite.proof".
-
-
Constructor Details
-
PropertyNamingStrategies
public PropertyNamingStrategies()
-