Derive EntityDecoder if implicit io.circe.Decoder is in the scope without need to explicitly call jsonOfSensitive
Note that it varies from CirceEntityDecoder in that, when failing to decode io.circe.Json to an A
,
the JSON will not be included in the raised java.lang.Exception. In the event the JSON includes sensitive data, this trait is,
arguably, a better choice since it eliminates the risk of logging sensitive data, e.g. due to logging a raised java.lang.Throwable
that includes the sensitive JSON.
- Companion:
- object