Class SnakeCaseFieldNamingStrategy
java.lang.Object
org.springframework.data.mapping.model.CamelCaseSplittingFieldNamingStrategy
org.springframework.data.mapping.model.SnakeCaseFieldNamingStrategy
- All Implemented Interfaces:
FieldNamingStrategy
FieldNamingStrategy
that translates typical camel case Java property names to lower case JSON element names,
separated by underscores.- Since:
- 1.5
- Author:
- Ryan Tenney, Oliver Gierke
-
Constructor Summary
-
Method Summary
Methods inherited from class org.springframework.data.mapping.model.CamelCaseSplittingFieldNamingStrategy
getFieldName, preparePart
-
Constructor Details
-
SnakeCaseFieldNamingStrategy
public SnakeCaseFieldNamingStrategy()Creates a newSnakeCaseFieldNamingStrategy
.
-