Identity

play.api.libs.json.JsonNaming.Identity
object Identity extends JsonNaming

For each class property, use the name as is for its column (e.g. fooBar -> fooBar).

Attributes

Graph
Supertypes
trait JsonNaming
trait String => String
class Object
trait Matchable
class Any
Self type
Identity.type

Members list

Value members

Concrete 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

Concrete fields

override val 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.