monix.newtypes.integrations
Type members
Classlikes
Derives a type-class instances for encoding and decoding JSON for any type implementing HasExtractor and HasBuilder type-class instances.
Derives a type-class instances for encoding and decoding JSON for any type implementing HasExtractor and HasBuilder type-class instances.
See https://circe.github.io/circe/codecs/custom-codecs.html.
WARN: we are not deriving io.circe.Codec
, as it's an anti-pattern
due to making code less generic. Also, due to Scala's subtyping it
can lead to conflicts.
Derives a io.circe.Decoder
type-class instance for decoding
a JSON value to any type with a HasBuilder instance.
Derives a io.circe.Decoder
type-class instance for decoding
a JSON value to any type with a HasBuilder instance.
See https://circe.github.io/circe/codecs/custom-codecs.html.
Derives a io.circe.Encoder
type-class instance for encoding
any type with a HasExtractor instance to JSON, via Circe.
Derives a io.circe.Encoder
type-class instance for encoding
any type with a HasExtractor instance to JSON, via Circe.
See https://circe.github.io/circe/codecs/custom-codecs.html.