DerivedCirceCodec
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.