PlayJsonSupportForAkkaHttp

skuber.akkaclient.impl.PlayJsonSupportForAkkaHttp
See thePlayJsonSupportForAkkaHttp companion trait

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

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

final case class PlayJsonError(error: JsError) extends RuntimeException

Attributes

Supertypes
trait Product
trait Equals
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all

Value members

Inherited methods

def unmarshallerContentTypes: Seq[ContentTypeRange]

Attributes

Inherited from:
PlayJsonSupportForAkkaHttp

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

Attributes

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

Attributes

Returns

unmarshaller for A

Inherited from:
PlayJsonSupportForAkkaHttp