org.http4s.circe
Type members
Classlikes
Derive EntityDecoder if implicit io.circe.Decoder is in the scope
without need to explicitly call jsonOf
.
Derive EntityDecoder if implicit io.circe.Decoder is in the scope
without need to explicitly call jsonOf
.
- Companion:
- object
Derive EntityEncoder if implicit io.circe.Encoder is in the scope
without need to explicitly call jsonEncoderOf
.
Derive EntityEncoder if implicit io.circe.Encoder is in the scope
without need to explicitly call jsonEncoderOf
.
- Companion:
- object
Derive EntityDecoder if implicit Decoder is in the scope without need to explicitly call jsonOfSensitive
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
Wraps a list of decoding failures as an java.lang.Exception when using accumulatingJsonOf to decode JSON messages.
Wraps a list of decoding failures as an java.lang.Exception when using accumulatingJsonOf to decode JSON messages.
F-algebra for separating the Sync required for extracting the Json from the body. As such if F is Sync at some layer, then this can be used to extract without the lower layer needing to be aware of the strong constraint.
F-algebra for separating the Sync required for extracting the Json from the body. As such if F is Sync at some layer, then this can be used to extract without the lower layer needing to be aware of the strong constraint.
- Companion:
- object
Value members
Inherited methods
An EntityDecoder that uses circe's accumulating decoder for decoding the JSON.
An EntityDecoder that uses circe's accumulating decoder for decoding the JSON.
In case of a failure, returns an InvalidMessageBodyFailure with the cause containing a DecodingFailures exception, from which the errors can be extracted.
- Inherited from:
- CirceInstances
- Inherited from:
- CirceInstances
- Inherited from:
- CirceInstances
- Inherited from:
- CirceInstances
- Inherited from:
- CirceInstances
An EntityEncoder for a fs2.Stream of JSONs, which will encode it as a single JSON array.
An EntityEncoder for a fs2.Stream of JSONs, which will encode it as a single JSON array.
- Inherited from:
- CirceInstances
An EntityEncoder for a fs2.Stream of values, which will encode it as a single JSON array.
An EntityEncoder for a fs2.Stream of values, which will encode it as a single JSON array.
- Inherited from:
- CirceInstances