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 java.lang.CharacterUNDERSCORE
-
Constructor Summary
Constructors Constructor Description LowerCaseWithUnderscoresStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected chargetSeparator()Separator for replacing camel case.-
Methods inherited from class org.eclipse.yasson.internal.model.customization.naming.LowerCaseStrategy
translateName
-
-
-
-
Method Detail
-
getSeparator
protected char getSeparator()
Description copied from class:LowerCaseStrategySeparator for replacing camel case.- Specified by:
getSeparatorin classLowerCaseStrategy- Returns:
- separator
-
-