Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait JsonTaggedAdtDecoder[T]trait Decoder[T]trait Serializableclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Inherited methods
Decode the given HCursor.
Decode the given HCursor.
Attributes
- Inherited from:
- Decoder
Create a new decoder that attempts to navigate to the specified field before decoding.
Create a new decoder that attempts to navigate to the specified field before decoding.
Attributes
- Inherited from:
- Decoder
Attributes
- Inherited from:
- Decoder
Decode the given Json value.
Decode the given Json value.
Attributes
- Inherited from:
- Decoder
Choose the first succeeding decoder, wrapping the result in a disjunction.
Choose the first succeeding decoder, wrapping the result in a disjunction.
Attributes
- Inherited from:
- Decoder
Create a new decoder that performs some operation on the result if this one succeeds.
Create a new decoder that performs some operation on the result if this one succeeds.
Value parameters
- f
-
a function returning either a value or an error message
Attributes
- Inherited from:
- Decoder
Create a new decoder that performs some operation on the result if this one succeeds.
Create a new decoder that performs some operation on the result if this one succeeds.
Value parameters
- f
-
a function returning either a value or an error message
Attributes
- Inherited from:
- Decoder
Build a new instance that fails with one or more errors if the condition does not hold for the result.
Build a new instance that fails with one or more errors if the condition does not hold for the result.
If the result of the function applied to the decoded value is the empty list, the new decoder will succeed with that value.
Attributes
- Inherited from:
- Decoder
Build a new instance that fails if the condition does not hold for the result.
Build a new instance that fails if the condition does not hold for the result.
Note that in the case of chained calls to this method, only the first failure will be returned.
Attributes
- Inherited from:
- Decoder
Monadically bind a function over this Decoder.
Monadically bind a function over this Decoder.
Attributes
- Inherited from:
- Decoder
Create a new instance that handles any of this instance's errors with the given function.
Create a new instance that handles any of this instance's errors with the given function.
Note that in the case of accumulating decoding, only the first error will be used in recovery.
Attributes
- Inherited from:
- Decoder
Convert to a Kleisli arrow.
Convert to a Kleisli arrow.
Attributes
- Inherited from:
- Decoder
Map a function over this Decoder.
Map a function over this Decoder.
Attributes
- Inherited from:
- Decoder
Choose the first succeeding decoder.
Choose the first succeeding decoder.
Attributes
- Inherited from:
- Decoder
Create a new decoder that performs some operation on the incoming JSON before decoding.
Create a new decoder that performs some operation on the incoming JSON before decoding.
Attributes
- Inherited from:
- Decoder
Run two decoders and return their results as a pair.
Run two decoders and return their results as a pair.
Attributes
- Inherited from:
- Decoder
Decode the given ACursor.
Decode the given ACursor.
Note that if you override the default implementation, you should also be sure to override tryDecodeAccumulating
in order for fail-fast and accumulating decoding to be consistent.
Attributes
- Inherited from:
- Decoder
Attributes
- Inherited from:
- Decoder
Build a new instance that fails if the condition does not hold for the input.
Build a new instance that fails if the condition does not hold for the input.
Attributes
- Inherited from:
- Decoder
Build a new instance that fails if the condition does not hold for the input.
Build a new instance that fails if the condition does not hold for the input.
Attributes
- Inherited from:
- Decoder
Build a new instance with the specified error message.
Build a new instance with the specified error message.
Attributes
- Inherited from:
- Decoder