PlayJsonSupportForAkkaHttp

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

Companion:
class
class Object
trait Matchable
class Any

Type members

Classlikes

final case class PlayJsonError(error: JsError) extends RuntimeException

Value members

Inherited methods

def unmarshallerContentTypes: Seq[ContentTypeRange]

Implicits

Inherited 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

Inherited from:
PlayJsonSupportForAkkaHttp
implicit def unmarshaller[A : Reads]: FromEntityUnmarshaller[A]

HTTP entity => A

HTTP entity => A

Type parameters:
A

type to decode

Returns:

unmarshaller for A

Inherited from:
PlayJsonSupportForAkkaHttp