Automatic to and from JSON marshalling/unmarshalling using an in-scope play-json protocol.
- Companion:
- object
Value members
Concrete methods
Implicits
Implicits
implicit def marshaller[A](implicit writes: Writes[A], printer: JsValue => String): ToEntityMarshaller[A]
A
=> HTTP entity
A
=> HTTP entity
- Type parameters:
- A
type to encode
- Returns:
marshaller for any
A
value