Run two decoders and return their results as a pair.
Decode the given Json value.
Choose the first succeeding decoder, wrapping the result in a disjunction.
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.
a function returning either a value or an error message
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.
a function returning either a value or an error message
Monadically bind a function over this 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.
Convert to a Kleisli arrow.
Map a function over this Decoder.
Choose the first succeeding decoder.
Create a new decoder that performs some operation on the incoming JSON before decoding.
Run two decoders.
Run one or another 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.
Build a new instance that fails if the condition does not hold.
Build a new instance with the specified error message.