ArgonautSupport

com.github.pjfanning.pekkohttpargonaut.ArgonautSupport$
See theArgonautSupport companion trait

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

To use automatic codec derivation, user needs to import argonaut.Shapeless._.

Attributes

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

Members list

Type members

Inherited types

type SourceOf[A] = Source[A, _]

Attributes

Inherited from:
ArgonautSupport

Value members

Inherited methods

def mediaTypes: Seq[WithFixedCharset]

Attributes

Inherited from:
ArgonautSupport
def unmarshallerContentTypes: Seq[ContentTypeRange]

Attributes

Inherited from:
ArgonautSupport

Implicits

Inherited implicits

implicit def fromByteStringUnmarshaller[A : DecodeJson]: Unmarshaller[ByteString, A]

ByteString => A

ByteString => A

Type parameters

A

type to decode

Attributes

Returns

unmarshaller for any A value

Inherited from:
ArgonautSupport
implicit def marshaller[A : EncodeJson]: ToEntityMarshaller[A]

A => HTTP entity

A => HTTP entity

Type parameters

A

type to encode

Attributes

Returns

marshaller for any A value

Inherited from:
ArgonautSupport
implicit def sourceMarshaller[A](implicit e: EncodeJson[A], support: JsonEntityStreamingSupport): ToEntityMarshaller[SourceOf[A]]

SourceOf[A] => HTTP entity

SourceOf[A] => HTTP entity

Type parameters

A

type to encode

Attributes

Returns

marshaller for any SourceOf[A] value

Inherited from:
ArgonautSupport
implicit def sourceUnmarshaller[A : DecodeJson](implicit evidence$5: DecodeJson[A], support: JsonEntityStreamingSupport): FromEntityUnmarshaller[SourceOf[A]]

HTTP entity => Source[A, _]

HTTP entity => Source[A, _]

Type parameters

A

type to decode

Attributes

Returns

unmarshaller for Source[A, _]

Inherited from:
ArgonautSupport
implicit def unmarshaller[A : DecodeJson]: FromEntityUnmarshaller[A]

HTTP entity => A

HTTP entity => A

Type parameters

A

type to decode

Attributes

Returns

unmarshaller for A

Inherited from:
ArgonautSupport