com.github.pjfanning.pekkohttpziojson.ZioJsonSupport
See theZioJsonSupport companion object
trait ZioJsonSupport
JSON marshalling/unmarshalling using zio-json codec implicits.
The marshaller writes A
to JSON HTTPEntity
.
The unmarshaller follows zio-json's early exit strategy, attempting to reading JSON to an A
.
A safe unmarshaller is provided to attempt reading JSON to an Either[String, A]
instead.
No intermediate JSON representation as per zio-json's design.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object ZioJsonSupport
Members list
In this article