implicit object BooleanWrites extends Writes[Boolean]
Ordering
- Alphabetic
- By Inheritance
Inherited
- BooleanWrites
- Writes
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- def contramap[B](f: (B) => Boolean): Writes[B]
Returns a new instance that first converts a
B
value to aA
one, before converting thisA
value into a JsValue. - def narrow[B <: Boolean]: Writes[B]
Narrows to any
B
super-type ofA
.Narrows to any
B
super-type ofA
.- Definition Classes
- Writes
- def transform(transformer: [JsValue]): Writes[Boolean]
Transforms the resulting JsValue using a
Writes[JsValue]
. - def transform(transformer: () => JsValue): Writes[Boolean]
Transforms the resulting JsValue using transformer function.
- def writes(o: Boolean): JsBoolean
Converts the
A
value into a JsValue.
Serializer for Boolean types.