com.github.pjfanning.pekkohttpziojson
Members list
Type members
Classlikes
object ZioJsonSupport extends ZioJsonSupport
Attributes
- Companion
- trait
- Supertypes
- Self type
-
ZioJsonSupport.type
trait ZioJsonSupport
JSON marshalling/unmarshalling using zio-json codec implicits.
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
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object ZioJsonSupport.type
In this article