package circe
- Source
- package.scala
- Alphabetic
- By Inheritance
- circe
- CirceInstances
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
trait
CirceEntityDecoder extends AnyRef
Derive EntityDecoder if implicit Decoder is in the scope without need to explicitly call
jsonOf
-
trait
CirceEntityEncoder extends AnyRef
Derive EntityEncoder if implicit Encoder is in the scope without need to explicitly call
jsonEncoderOf
- trait CirceInstances extends AnyRef
-
implicit
class
MessageSyntax[F[_]] extends AnyRef
- Definition Classes
- CirceInstances
-
final
case class
DecodingFailures(failures: NonEmptyList[DecodingFailure]) extends Exception with Product with Serializable
Wraps a list of decoding failures as an Exception when using accumulatingJsonOf to decode JSON messages.
Abstract Value Members
-
abstract
def
defaultPrinter: Printer
- Attributes
- protected
- Definition Classes
- CirceInstances
-
implicit abstract
def
jsonDecoder[F[_]](implicit arg0: Sync[F]): EntityDecoder[F, Json]
- Definition Classes
- CirceInstances
Concrete Value Members
-
def
accumulatingJsonOf[F[_], A](implicit arg0: Sync[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.
- Definition Classes
- CirceInstances
-
implicit
val
decodeUri: Decoder[Uri]
- Definition Classes
- CirceInstances
-
implicit
val
encodeUri: Encoder[Uri]
- Definition Classes
- CirceInstances
-
def
jsonDecoderAdaptive[F[_]](cutoff: Long)(implicit arg0: Sync[F]): EntityDecoder[F, Json]
- Definition Classes
- CirceInstances
-
def
jsonDecoderByteBuffer[F[_]](implicit arg0: Sync[F]): EntityDecoder[F, Json]
- Definition Classes
- CirceInstances
-
def
jsonDecoderIncremental[F[_]](implicit arg0: Sync[F]): EntityDecoder[F, Json]
- Definition Classes
- CirceInstances
-
implicit
def
jsonEncoder[F[_]](implicit arg0: Applicative[F]): EntityEncoder[F, Json]
- Definition Classes
- CirceInstances
-
def
jsonEncoderOf[F[_], A](implicit arg0: Applicative[F], encoder: Encoder[A]): EntityEncoder[F, A]
- Definition Classes
- CirceInstances
-
def
jsonEncoderWithPrinter[F[_]](printer: Printer)(implicit arg0: Applicative[F]): EntityEncoder[F, Json]
- Definition Classes
- CirceInstances
-
def
jsonEncoderWithPrinterOf[F[_], A](printer: Printer)(implicit arg0: Applicative[F], encoder: Encoder[A]): EntityEncoder[F, A]
- Definition Classes
- CirceInstances
-
def
jsonOf[F[_], A](implicit arg0: Sync[F], decoder: Decoder[A]): EntityDecoder[F, A]
- Definition Classes
- CirceInstances
- object CirceEntityCodec extends CirceEntityDecoder with CirceEntityEncoder
- object CirceEntityDecoder extends CirceEntityDecoder
- object CirceEntityEncoder extends CirceEntityEncoder
- object CirceInstances