Class PropertyNamingStrategies
java.lang.Object
edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.PropertyNamingStrategies
- All Implemented Interfaces:
Serializable
Container for standard
PropertyNamingStrategy
implementations
and singleton instances.
Added in Jackson 2.12 to resolve issue databind#2715.
- Since:
- 2.12
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Naming 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 class
Simple strategy where external name simply only uses lower-case characters, and no separators.static class
Naming strategy similar toPropertyNamingStrategies.KebabCaseStrategy
, but instead of hyphens as separators, uses dots.static class
Intermediate base class for simple implementationsstatic class
APropertyNamingStrategy
that translates typical camel case Java property names to lower case JSON element names, separated by underscores.static class
APropertyNamingStrategy
that translates typical camelCase Java property names to PascalCase JSON element names (i.e., with a capital first letter).static class
APropertyNamingStrategy
that translates an input to the equivalent upper case snake case. -
Field Summary
Modifier and TypeFieldDescriptionstatic final PropertyNamingStrategy
Naming convention used in languages like Lisp, where words are in lower-case letters, separated by hyphens.static final PropertyNamingStrategy
Naming convention used in Java, where words other than first are capitalized and no separator is used between words.static final PropertyNamingStrategy
Naming convention in which all words of the logical name are in lower case, and no separator is used between words.static final PropertyNamingStrategy
Naming convention widely used as configuration properties name, where words are in lower-case letters, separated by dots.static final PropertyNamingStrategy
Naming convention used in languages like C, where words are in lower-case letters, separated by underscores.static final PropertyNamingStrategy
Naming convention used in languages like Pascal, where all words are capitalized and no separator is used between words.static final PropertyNamingStrategy
Naming convention in which the words are in upper-case letters, separated by underscores. -
Constructor Summary
-
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.UpperCamelCaseStrategy
for 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.SnakeCaseStrategy
for 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.UpperSnakeCaseStrategy
for details.- Since:
- 2.13
-
LOWER_CASE
Naming convention in which all words of the logical name are in lower case, and no separator is used between words. SeePropertyNamingStrategies.LowerCaseStrategy
for 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.KebabCaseStrategy
for 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.LowerDotCaseStrategy
for details.Example external property names would be "number.value", "naming.strategy", "the.definite.proof".
-
-
Constructor Details
-
PropertyNamingStrategies
public PropertyNamingStrategies()
-