Derive EntityDecoder if implicit 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 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 Throwable
that includes the sensitive JSON.
- Companion
- object
Implicits
Implicits
implicit def circeEntityDecoder[F[_], A](implicit evidence$1: Concurrent[F], evidence$2: Decoder[A]): EntityDecoder[F, A]