CirceInstances

org.http4s.circe.CirceInstances
See theCirceInstances companion object

Attributes

Companion
object
Source
CirceInstances.scala
Graph
Supertypes
class Object
trait Matchable
class Any

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

Attributes

Source
CirceInstances.scala
def jsonEncoderOf[F[_], A : Encoder]: EntityEncoder[F, A]

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
def jsonOf[F[_] : Concurrent, A : Decoder]: EntityDecoder[F, A]

Attributes

Source
CirceInstances.scala
def jsonOfSensitive[F[_] : Concurrent, A : Decoder](redact: Json => String): EntityDecoder[F, A]

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

implicit val decodeUri: Decoder[Uri]

Attributes

Source
CirceInstances.scala
implicit val encodeUri: Encoder[Uri]

Attributes

Source
CirceInstances.scala
implicit def jsonDecoder[F[_] : Concurrent]: EntityDecoder[F, Json]

Attributes

Source
CirceInstances.scala
implicit def jsonEncoder[F[_]]: EntityEncoder[F, Json]

Attributes

Source
CirceInstances.scala

Attributes

Source
CirceInstances.scala
implicit def streamJsonArrayEncoder[F[_]]: EntityEncoder[F, Stream[F, Json]]

Attributes

Source
CirceInstances.scala
final implicit def toMessageSyntax[F[_]](req: Message[F]): MessageSyntax[F]

Attributes

Source
CirceInstances.scala