package circe
- Source
- package.scala
- Alphabetic
- By Inheritance
- circe
- CirceInstances
- JawnInstances
- 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 JawnInstances
-
implicit
class
MessageSyntax[F[_]] extends AnyRef
- Definition Classes
- CirceInstances
- sealed abstract case class CirceInstancesBuilder extends Product with Serializable
-
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.
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
-
def
circeParseExceptionMessage: (ParsingFailure) ⇒ DecodeFailure
- Attributes
- protected
- Definition Classes
- CirceInstances
-
implicit
val
decodeUri: Decoder[Uri]
- Definition Classes
- CirceInstances
-
def
defaultPrinter: Printer
- Attributes
- protected
- Definition Classes
- CirceInstances
-
implicit
val
encodeUri: Encoder[Uri]
- Definition Classes
- CirceInstances
-
def
jawnDecoder[F[_], J](implicit arg0: Sync[F], arg1: RawFacade[J]): EntityDecoder[F, J]
- Definition Classes
- JawnInstances
-
def
jawnEmptyBodyMessage: DecodeFailure
- Attributes
- protected
- Definition Classes
- JawnInstances
-
def
jawnParseExceptionMessage: (ParseException) ⇒ DecodeFailure
- Attributes
- protected
- Definition Classes
- JawnInstances
-
def
jsonDecodeError: (Json, NonEmptyList[DecodingFailure]) ⇒ DecodeFailure
- Attributes
- protected
- Definition Classes
- CirceInstances
-
implicit
def
jsonDecoder[F[_]](implicit arg0: Sync[F]): EntityDecoder[F, Json]
- Definition Classes
- CirceInstances
-
def
jsonDecoderAdaptive[F[_]](cutoff: Long, r1: MediaRange, rs: MediaRange*)(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
-
def
jsonOfWithMedia[F[_], A](r1: MediaRange, rs: MediaRange*)(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