com.github.pjfanning.pekkohttpjsoniterscala.JsoniterScalaSupport
See theJsoniterScalaSupport companion trait
object JsoniterScalaSupport extends JsoniterScalaSupport
Automatic to and from JSON marshalling/unmarshalling using an in-scope instance of JsonValueCodec
Attributes
- Companion
- trait
- Graph
-
- Supertypes
- Self type
-
JsoniterScalaSupport.type
Members list
Type members
Inherited types
Attributes
- Inherited from:
- JsoniterScalaSupport
Value members
Inherited methods
Attributes
- Inherited from:
- JsoniterScalaSupport
Attributes
- Inherited from:
- JsoniterScalaSupport
Implicits
Inherited implicits
implicit def fromByteStringUnmarshaller[A](implicit codec: JsonValueCodec[A], config: ReaderConfig): Unmarshaller[ByteString, A]
ByteString
=> A
ByteString
=> A
Type parameters
- A
-
type to decode
Attributes
- Returns
-
unmarshaller for any
A
value - Inherited from:
- JsoniterScalaSupport
implicit def marshaller[A](implicit codec: JsonValueCodec[A], config: WriterConfig): ToEntityMarshaller[A]
A
=> HTTP entity
implicit def sourceMarshaller[A](implicit codec: JsonValueCodec[A], config: WriterConfig, 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:
- JsoniterScalaSupport
implicit def sourceUnmarshaller[A : JsonValueCodec](implicit evidence$1: JsonValueCodec[A], support: JsonEntityStreamingSupport, config: ReaderConfig): 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:
- JsoniterScalaSupport
implicit def unmarshaller[A](implicit codec: JsonValueCodec[A], config: ReaderConfig): FromEntityUnmarshaller[A]
HTTP entity => A
In this article