play.api.libs.json.JsonNaming
See theJsonNaming companion trait
object JsonNaming
Naming companion
Attributes
- Companion
- trait
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
JsonNaming.type
Members list
Type members
Classlikes
object Identity extends JsonNaming
For each class property, use the name as is for its column (e.g. fooBar -> fooBar).
For each class property, use the name as is for its column (e.g. fooBar -> fooBar).
Attributes
- Supertypes
- Self type
-
Identity.type
object PascalCase extends JsonNaming
For each class property, use the pascal case equivalent to name its column (e.g. fooBar -> FooBar).
For each class property, use the pascal case equivalent to name its column (e.g. fooBar -> FooBar).
Attributes
- Supertypes
- Self type
-
PascalCase.type
object SnakeCase extends JsonNaming
For each class property, use the snake case equivalent to name its column (e.g. fooBar -> foo_bar).
For each class property, use the snake case equivalent to name its column (e.g. fooBar -> foo_bar).
Attributes
- Supertypes
- Self type
-
SnakeCase.type
Value members
Concrete methods
Naming using a custom transformation function.
Naming using a custom transformation function.
Attributes
In this article