JsonNaming

play.api.libs.json.JsonNaming
See theJsonNaming companion object
trait JsonNaming extends String => String

Naming strategy, to map each class property to the corresponding column.

Attributes

Companion
object
Graph
Supertypes
trait String => String
class Object
trait Matchable
class Any
Known subtypes
object Identity.type
object PascalCase.type
object SnakeCase.type

Members list

Value members

Abstract methods

def apply(property: String): String

Returns the column name for the class property.

Returns the column name for the class property.

Value parameters

property

the name of the case class property

Attributes

Inherited methods

def andThen[A](g: String => A): T1 => A

Attributes

Inherited from:
Function1
def compose[A](g: A => String): A => R

Attributes

Inherited from:
Function1
override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Function1 -> Any
Inherited from:
Function1