Partial interpreter for JsonEntities: only fixes the carrier types, but does
not implement the abstract methods.
Uses CirceCodec for both HTTP responses and requests.
It means that, from a client
point of view, you will need a complete code even if you only want to build a request
entity (despite that a io.circe.Encoder would have sufficed).
The idea is to share codecs between client-side and server-side code,
thus guaranteeing consistency between both sides.
Partial interpreter for JsonEntities: only fixes the carrier types, but does not implement the abstract methods.
Uses CirceCodec for both HTTP responses and requests.
It means that, from a client point of view, you will need a complete code even if you only want to build a request entity (despite that a io.circe.Encoder would have sufficed).
The idea is to share codecs between client-side and server-side code, thus guaranteeing consistency between both sides.
Typical usage: