com.github.pjfanning.pekkohttpziojson.ZioJsonSupport
See theZioJsonSupport companion trait
object ZioJsonSupport extends ZioJsonSupport
Attributes
- Companion
- trait
- Graph
-
- Supertypes
- Self type
-
ZioJsonSupport.type
Members list
Type members
Inherited types
Attributes
- Inherited from:
- ZioJsonSupport
Value members
Inherited methods
Attributes
- Inherited from:
- ZioJsonSupport
Attributes
- Inherited from:
- ZioJsonSupport
Implicits
Inherited implicits
final implicit def fromByteStringUnmarshaller[A](implicit jd: JsonDecoder[A], rt: Runtime[Any]): Unmarshaller[ByteString, A]
ByteString
=> A
A
=> HTTP entity
A
=> HTTP entity
Type parameters
- A
-
type to encode
Attributes
- Returns
-
marshaller for any
A
value - Inherited from:
- ZioJsonSupport
Attributes
- Inherited from:
- ZioJsonSupport
final implicit def sourceMarshaller[A](implicit writes: JsonEncoder[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:
- ZioJsonSupport
final implicit def sourceUnmarshaller[A : JsonDecoder, RT : Runtime](implicit evidence$4: JsonDecoder[A], evidence$5: Runtime[RT], support: JsonEntityStreamingSupport): FromEntityUnmarshaller[SourceOf[A]]
HTTP entity => Source[A, _]
HTTP entity => Source[A, _]
Type parameters
- A
-
type to decode
Attributes
- Returns
-
unmarshaller from
Source[A, _]
- Inherited from:
- ZioJsonSupport
HTTPEntity => A
HTTPEntity => A
Type parameters
- A
-
type to decode
Attributes
- Returns
-
unmarshaller for
A
- Inherited from:
- ZioJsonSupport
In this article