Packages

trait FailFastCirceSupport extends BaseCirceSupport with FailFastUnmarshaller

Automatic to and from JSON marshalling/unmarshalling using an in-scope circe protocol. The unmarshaller fails fast, throwing the first Error encountered.

To use automatic codec derivation import io.circe.generic.auto._.

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FailFastCirceSupport
  2. FailFastUnmarshaller
  3. BaseCirceSupport
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type SourceOf[A] = Source[A, _]
    Definition Classes
    BaseCirceSupport

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def byteStringJsonUnmarshaller: Unmarshaller[ByteString, Json]
    Definition Classes
    BaseCirceSupport
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. implicit final def fromByteStringUnmarshaller[A](implicit arg0: Decoder[A]): Unmarshaller[ByteString, A]
    Definition Classes
    FailFastUnmarshaller
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. implicit final def jsonMarshaller(implicit printer: Printer = Printer.noSpaces): ToEntityMarshaller[Json]

    Json => HTTP entity

    Json => HTTP entity

    returns

    marshaller for JSON value

    Definition Classes
    BaseCirceSupport
  14. implicit final val jsonUnmarshaller: FromEntityUnmarshaller[Json]

    HTTP entity => Json

    HTTP entity => Json

    returns

    unmarshaller for Json

    Definition Classes
    BaseCirceSupport
  15. implicit final def marshaller[A](implicit arg0: Encoder[A], printer: Printer = Printer.noSpaces): ToEntityMarshaller[A]

    A => HTTP entity

    A => HTTP entity

    A

    type to encode

    returns

    marshaller for any A value

    Definition Classes
    BaseCirceSupport
  16. def mediaTypes: Seq[WithFixedCharset]
    Definition Classes
    BaseCirceSupport
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. implicit final val safeJsonUnmarshaller: FromEntityUnmarshaller[Either[ParsingFailure, Json]]

    HTTP entity => Either[io.circe.ParsingFailure, Json]

    HTTP entity => Either[io.circe.ParsingFailure, Json]

    returns

    unmarshaller for Either[io.circe.ParsingFailure, Json]

    Definition Classes
    BaseCirceSupport
  21. implicit final def safeUnmarshaller[A](implicit arg0: Decoder[A]): FromEntityUnmarshaller[Either[Error, A]]
    Definition Classes
    FailFastUnmarshaller
  22. implicit def sourceMarshaller[A](implicit writes: Encoder[A], printer: Printer = Printer.noSpaces, support: JsonEntityStreamingSupport = EntityStreamingSupport.json()): ToEntityMarshaller[SourceOf[A]]

    SourceOf[A] => HTTP entity

    SourceOf[A] => HTTP entity

    A

    type to encode

    returns

    marshaller for any SourceOf[A] value

    Definition Classes
    BaseCirceSupport
  23. implicit def sourceUnmarshaller[A](implicit arg0: Decoder[A], support: JsonEntityStreamingSupport = EntityStreamingSupport.json()): FromEntityUnmarshaller[SourceOf[A]]

    HTTP entity => Source[A, _]

    HTTP entity => Source[A, _]

    A

    type to decode

    returns

    unmarshaller for Source[A, _]

    Definition Classes
    BaseCirceSupport
  24. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. implicit final def unmarshaller[A](implicit arg0: Decoder[A]): FromEntityUnmarshaller[A]
    Definition Classes
    FailFastUnmarshaller
  27. def unmarshallerContentTypes: Seq[ContentTypeRange]
    Definition Classes
    BaseCirceSupport
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from FailFastUnmarshaller

Inherited from BaseCirceSupport

Inherited from AnyRef

Inherited from Any

Ungrouped