Package com.fasterxml.jackson.databind
Class PropertyNamingStrategies.KebabCaseStrategy
- java.lang.Object
-
- com.fasterxml.jackson.databind.PropertyNamingStrategy
-
- com.fasterxml.jackson.databind.PropertyNamingStrategies.NamingBase
-
- com.fasterxml.jackson.databind.PropertyNamingStrategies.KebabCaseStrategy
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- PropertyNamingStrategies
public static class PropertyNamingStrategies.KebabCaseStrategy extends PropertyNamingStrategies.NamingBase
Naming strategy similar toPropertyNamingStrategies.SnakeCaseStrategy
, but instead of underscores as separators, uses hyphens. Naming convention traditionally used for languages like Lisp.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.PropertyNamingStrategy
PropertyNamingStrategy.KebabCaseStrategy, PropertyNamingStrategy.LowerCaseStrategy, PropertyNamingStrategy.LowerCaseWithUnderscoresStrategy, PropertyNamingStrategy.LowerDotCaseStrategy, PropertyNamingStrategy.PascalCaseStrategy, PropertyNamingStrategy.PropertyNamingStrategyBase, PropertyNamingStrategy.SnakeCaseStrategy, PropertyNamingStrategy.UpperCamelCaseStrategy
-
-
Field Summary
-
Fields inherited from class com.fasterxml.jackson.databind.PropertyNamingStrategy
CAMEL_CASE_TO_LOWER_CASE_WITH_UNDERSCORES, KEBAB_CASE, LOWER_CAMEL_CASE, LOWER_CASE, LOWER_DOT_CASE, PASCAL_CASE_TO_CAMEL_CASE, SNAKE_CASE, UPPER_CAMEL_CASE
-
-
Constructor Summary
Constructors Constructor Description KebabCaseStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
translate(java.lang.String input)
-
Methods inherited from class com.fasterxml.jackson.databind.PropertyNamingStrategies.NamingBase
nameForConstructorParameter, nameForField, nameForGetterMethod, nameForSetterMethod
-
-
-
-
Method Detail
-
translate
public java.lang.String translate(java.lang.String input)
- Specified by:
translate
in classPropertyNamingStrategies.NamingBase
-
-