PlayJsonSupportForAkkaHttp

skuber.akkaclient.impl.PlayJsonSupportForAkkaHttp
See thePlayJsonSupportForAkkaHttp companion object

Automatic to and from JSON marshalling/unmarshalling using an in-scope play-json protocol.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Concrete methods

def unmarshallerContentTypes: Seq[ContentTypeRange]

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

Attributes

Returns

marshaller for any A value

implicit def unmarshaller[A : Reads]: FromEntityUnmarshaller[A]

HTTP entity => A

HTTP entity => A

Type parameters

A

type to decode

Attributes

Returns

unmarshaller for A