implicit object BooleanWrites extends Writes[Boolean]

Serializer for Boolean types.

Source
Writes.scala
Linear Supertypes
Writes[Boolean], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BooleanWrites
  2. Writes
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def contramap[B](f: (B) => Boolean): Writes[B]

    Returns a new instance that first converts a B value to a A one, before converting this A value into a JsValue.

    Returns a new instance that first converts a B value to a A one, before converting this A value into a JsValue.

    Definition Classes
    Writes
  2. def narrow[B <: Boolean]: Writes[B]

    Narrows to any B super-type of A.

    Narrows to any B super-type of A.

    Definition Classes
    Writes
  3. def transform(transformer: [JsValue]): Writes[Boolean]

    Transforms the resulting JsValue using a Writes[JsValue].

    Transforms the resulting JsValue using a Writes[JsValue].

    Definition Classes
    Writes
  4. def transform(transformer: () => JsValue): Writes[Boolean]

    Transforms the resulting JsValue using transformer function.

    Transforms the resulting JsValue using transformer function.

    Definition Classes
    Writes
  5. def writes(o: Boolean): JsBoolean

    Converts the A value into a JsValue.

    Converts the A value into a JsValue.

    Definition Classes
    Writes