org.http4s.circe.CirceInstances
See theCirceInstances companion object
trait CirceInstances extends JawnInstances
Attributes
- Companion
- object
- Source
- CirceInstances.scala
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
def accumulatingJsonOf[F[_], A](implicit F: Concurrent[F], decoder: Decoder[A]): EntityDecoder[F, A]
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.
Attributes
- Source
- CirceInstances.scala
def jsonDecoderAdaptive[F[_] : Concurrent](cutoff: Long, r1: MediaRange, rs: MediaRange*): EntityDecoder[F, Json]
Attributes
- Source
- CirceInstances.scala
Attributes
- Source
- CirceInstances.scala
Attributes
- Source
- CirceInstances.scala
Attributes
- Source
- CirceInstances.scala
Attributes
- Source
- CirceInstances.scala
def jsonEncoderWithPrinterOf[F[_], A](printer: Printer)(implicit encoder: Encoder[A]): EntityEncoder[F, A]
Attributes
- Source
- CirceInstances.scala
Attributes
- Source
- CirceInstances.scala
Attributes
- Source
- CirceInstances.scala
def jsonOfWithMedia[F[_], A](r1: MediaRange, rs: MediaRange*)(implicit F: Concurrent[F], decoder: Decoder[A]): EntityDecoder[F, A]
Attributes
- Source
- CirceInstances.scala
def jsonOfWithSensitiveMedia[F[_], A](redact: Json => String, r1: MediaRange, rs: MediaRange*)(implicit F: Concurrent[F], decoder: Decoder[A]): EntityDecoder[F, A]
Attributes
- Source
- CirceInstances.scala
Attributes
- Source
- CirceInstances.scala
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.
Attributes
- Source
- CirceInstances.scala
def streamJsonArrayEncoderWithPrinterOf[F[_], A](printer: Printer)(implicit encoder: Encoder[A]): EntityEncoder[F, Stream[F, A]]
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.
Attributes
- Source
- CirceInstances.scala
Inherited methods
Attributes
- Inherited from:
- JawnInstances
- Source
- JawnInstances.scala
Implicits
Implicits
Attributes
- Source
- CirceInstances.scala
Attributes
- Source
- CirceInstances.scala
Attributes
- Source
- CirceInstances.scala
Attributes
- Source
- CirceInstances.scala
Attributes
- Source
- CirceInstances.scala
Attributes
- Source
- CirceInstances.scala
Attributes
- Source
- CirceInstances.scala
In this article