public static class PropertyNamingStrategy.KebabCaseStrategy extends PropertyNamingStrategy.PropertyNamingStrategyBase
PropertyNamingStrategy.SnakeCaseStrategy
, but instead of underscores
as separators, uses hyphens. Naming convention traditionally used for languages
like Lisp.PropertyNamingStrategy.KebabCaseStrategy, PropertyNamingStrategy.LowerCaseStrategy, PropertyNamingStrategy.LowerCaseWithUnderscoresStrategy, PropertyNamingStrategy.PascalCaseStrategy, PropertyNamingStrategy.PropertyNamingStrategyBase, PropertyNamingStrategy.SnakeCaseStrategy, PropertyNamingStrategy.UpperCamelCaseStrategy
CAMEL_CASE_TO_LOWER_CASE_WITH_UNDERSCORES, KEBAB_CASE, LOWER_CAMEL_CASE, LOWER_CASE, PASCAL_CASE_TO_CAMEL_CASE, SNAKE_CASE, UPPER_CAMEL_CASE
Constructor and Description |
---|
PropertyNamingStrategy.KebabCaseStrategy() |
Modifier and Type | Method and Description |
---|---|
String |
translate(String input) |
nameForConstructorParameter, nameForField, nameForGetterMethod, nameForSetterMethod
public PropertyNamingStrategy.KebabCaseStrategy()
public String translate(String input)
translate
in class PropertyNamingStrategy.PropertyNamingStrategyBase
Copyright © 2008–2018 FasterXML. All rights reserved.