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._
.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait FailFastUnmarshallertrait FailFastSupporttrait BaseCirceSupporttrait BaseSupportclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
object FailFastCirceSupport
Members list
Type members
Inherited types
Attributes
- Inherited from:
- BaseSupport
Value members
Inherited methods
Attributes
- Definition Classes
-
BaseCirceSupport -> BaseSupport
- Inherited from:
- BaseCirceSupport
Attributes
- Inherited from:
- BaseSupport
Attributes
- Inherited from:
- BaseSupport
Attributes
- Inherited from:
- BaseSupport
Attributes
- Inherited from:
- BaseSupport
Inherited fields
Attributes
- Inherited from:
- BaseSupport
Attributes
- Inherited from:
- BaseSupport
Implicits
Inherited implicits
ByteString
=> A
ByteString
=> A
Type parameters
- A
-
type to decode
Attributes
- Returns
-
unmarshaller for any
A
value - Definition Classes
-
FailFastSupport -> BaseSupport
- Inherited from:
- FailFastSupport
Json
=> HTTP entity
Json
=> HTTP entity
Attributes
- Returns
-
marshaller for JSON value
- Inherited from:
- BaseSupport
HTTP entity => Json
A
=> HTTP entity
A
=> HTTP entity
Type parameters
- A
-
type to encode
Attributes
- Returns
-
marshaller for any
A
value - Inherited from:
- BaseSupport
HTTP entity => Either[io.circe.ParsingFailure, Json]
HTTP entity => Either[io.circe.ParsingFailure, Json]
Attributes
- Returns
-
unmarshaller for
Either[io.circe.ParsingFailure, Json]
- Inherited from:
- BaseCirceSupport
Attributes
- Inherited from:
- FailFastSupport
SourceOf[A]
=> HTTP entity
SourceOf[A]
=> HTTP entity
Type parameters
- A
-
type to encode
Attributes
- Returns
-
marshaller for any
SourceOf[A]
value - Inherited from:
- BaseSupport
HTTP entity => Source[A, _]
HTTP entity => Source[A, _]
Type parameters
- A
-
type to decode
Attributes
- Returns
-
unmarshaller for
Source[A, _]
- Inherited from:
- BaseSupport
HTTP entity => A
HTTP entity => A
Type parameters
- A
-
type to decode
Attributes
- Returns
-
unmarshaller for
A
- Definition Classes
-
FailFastSupport -> BaseSupport
- Inherited from:
- FailFastSupport