Class LowerCaseWithUnderscoresStrategy
- java.lang.Object
-
- org.eclipse.yasson.internal.model.customization.naming.LowerCaseStrategy
-
- org.eclipse.yasson.internal.model.customization.naming.LowerCaseWithUnderscoresStrategy
-
- All Implemented Interfaces:
javax.json.bind.config.PropertyNamingStrategy
public class LowerCaseWithUnderscoresStrategy extends LowerCaseStrategy
Lower case with underscoresmyPropertyName -> my_property_name
- Author:
- Roman Grigoriadi
-
-
Field Summary
Fields Modifier and Type Field Description static Character
UNDERSCORE
-
Constructor Summary
Constructors Constructor Description LowerCaseWithUnderscoresStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected char
getSeparator()
Separator for replacing camel case.-
Methods inherited from class org.eclipse.yasson.internal.model.customization.naming.LowerCaseStrategy
translateName
-
-
-
-
Field Detail
-
UNDERSCORE
public static final Character UNDERSCORE
-
-
Method Detail
-
getSeparator
protected char getSeparator()
Description copied from class:LowerCaseStrategy
Separator for replacing camel case.- Specified by:
getSeparator
in classLowerCaseStrategy
- Returns:
- separator
-
-