SimpleObjectWrites
uk.gov.hmrc.domain.SimpleObjectWrites
class SimpleObjectWrites[T](val valueGetter: T => String) extends Writes[T]
Attributes
- Graph
-
- Supertypes
-
trait Writes[T]class Objecttrait Matchableclass Any
Members list
Value members
Concrete methods
Converts the A value into a JsValue.
Converts the A value into a JsValue.
Attributes
- Definition Classes
-
Writes
Inherited methods
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.
Attributes
- Inherited from:
- Writes
Narrows to any B super-type of A.
Narrows to any B super-type of A.
Attributes
- Inherited from:
- Writes
Transforms the resulting JsValue using a Writes[JsValue].
Transforms the resulting JsValue using a Writes[JsValue].
Attributes
- Inherited from:
- Writes
Transforms the resulting JsValue using transformer function.
Transforms the resulting JsValue using transformer function.
Attributes
- Inherited from:
- Writes
Concrete fields
In this article