json

object json extends CirceInstances with CirceEntityDecoder
trait CirceEntityDecoder
trait CirceInstances
trait JawnInstances
class Object
trait Matchable
class Any

Value members

Inherited 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.

Inherited from
CirceInstances
def jawnDecoder[F[_] : Concurrent, J : Facade]: EntityDecoder[F, J]
Inherited from
JawnInstances
def jsonDecoderAdaptive[F[_] : Concurrent](cutoff: Long, r1: MediaRange, rs: MediaRange*): EntityDecoder[F, Json]
Inherited from
CirceInstances
def jsonDecoderByteBuffer[F[_] : Concurrent]: EntityDecoder[F, Json]
Inherited from
CirceInstances
def jsonDecoderIncremental[F[_] : Concurrent]: EntityDecoder[F, Json]
Inherited from
CirceInstances
def jsonEncoderOf[F[_], A : Encoder]: EntityEncoder[F, A]
Inherited from
CirceInstances
def jsonEncoderWithPrinter[F[_]](printer: Printer): EntityEncoder[F, Json]
Inherited from
CirceInstances
def jsonEncoderWithPrinterOf[F[_], A](printer: Printer)(implicit encoder: Encoder[A]): EntityEncoder[F, A]
Inherited from
CirceInstances
def jsonOf[F[_] : Concurrent, A : Decoder]: EntityDecoder[F, A]
Inherited from
CirceInstances
def jsonOfSensitive[F[_] : Concurrent, A : Decoder](redact: Json => String): EntityDecoder[F, A]
Inherited from
CirceInstances
def jsonOfWithMedia[F[_], A](r1: MediaRange, rs: MediaRange*)(implicit F: Concurrent[F], decoder: Decoder[A]): EntityDecoder[F, A]
Inherited from
CirceInstances
def jsonOfWithSensitiveMedia[F[_], A](redact: Json => String, r1: MediaRange, rs: MediaRange*)(implicit F: Concurrent[F], decoder: Decoder[A]): EntityDecoder[F, A]
Inherited from
CirceInstances
def streamJsonArrayEncoderOf[F[_], A : Encoder]: EntityEncoder[F, Stream[F, A]]
Inherited from
CirceInstances
def streamJsonArrayEncoderWithPrinter[F[_]](printer: Printer): EntityEncoder[F, Stream[F, Json]]

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
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.

Inherited from
CirceInstances

Concrete fields

final lazy
val Decoder_BigDecimal: Decoder[BigDecimal]
final lazy
val Decoder_BigInt: Decoder[BigInt]
final lazy
val Decoder_ByteVector: Decoder[ByteVector]
final lazy
val Decoder_Long: Decoder[Long]
final lazy
val Encoder_BigDecimal: Encoder[BigDecimal]
final lazy
val Encoder_BigInt: Encoder[BigInt]
final lazy
val Encoder_ByteVector: Encoder[ByteVector]
final lazy
val Encoder_Long: Encoder[Long]

Givens

Givens

given Decoder_A: Serializable
given Decoder_FiniteDuration: Serializable
given Encoder_A: Serializable
given Encoder_FiniteDuration: Serializable

Implicits

Inherited implicits

implicit
def circeEntityDecoder[F[_] : Concurrent, A : Decoder]: EntityDecoder[F, A]
Inherited from
CirceEntityDecoder
implicit
val decodeUri: Decoder[Uri]
Inherited from
CirceInstances
implicit
val encodeUri: Encoder[Uri]
Inherited from
CirceInstances
implicit
def jsonDecoder[F[_] : Concurrent]: EntityDecoder[F, Json]
Inherited from
CirceInstances
implicit
def jsonEncoder[F[_]]: EntityEncoder[F, Json]
Inherited from
CirceInstances
implicit
def streamJsonArrayDecoder[F[_] : Concurrent]: EntityDecoder[F, Stream[F, Json]]
Inherited from
CirceInstances
implicit
def streamJsonArrayEncoder[F[_]]: EntityEncoder[F, Stream[F, Json]]
Inherited from
CirceInstances
final implicit
def toMessageSyntax[F[_]](req: Message[F]): MessageSyntax[F]
Inherited from
CirceInstances