trait OWrites[A] extends Writes[A]
- Annotations
- @implicitNotFound()
- Source
- Writes.scala
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- OWrites
- Writes
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Abstract Value Members
Concrete Value Members
- def contramap[B](f: (B) => A): OWrites[B]
Returns a new instance that first converts a
B
value to aA
one, before converting thisA
value into a JsValue. - def narrow[B <: A]: OWrites[B]
Narrows to any
B
super-type ofA
.Narrows to any
B
super-type ofA
.- Definition Classes
- → Writes
- def transform(transformer: [JsObject]): OWrites[A]
Transforms the resulting JsValue using a
Writes[JsValue]
. - def transform(transformer: () => JsObject): OWrites[A]
Transforms the resulting JsObject using a transformer function.
- def transform(transformer: [JsValue]): Writes[A]
Transforms the resulting JsValue using a
Writes[JsValue]
. - def transform(transformer: () => JsValue): Writes[A]
Transforms the resulting JsValue using transformer function.