object SnakeCase extends JsonNaming

For each class property, use the snake case equivalent to name its column (e.g. fooBar -> foo_bar).

Source
JsonConfiguration.scala
Linear Supertypes
JsonNaming, (String) => String, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SnakeCase
  2. JsonNaming
  3. Function1
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def andThen[A](g: (String) => A): (String) => A
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  2. def apply(property: String): String

    Returns the column name for the class property.

    Returns the column name for the class property.

    property

    the name of the case class property

    Definition Classes
    JsonNaming → Function1
  3. def compose[A](g: (A) => String): (A) => String
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  4. val toString: String