Decoder

trait Decoder[A] extends Serializable

A type class that provides a way to produce a value of type A from a Json value.

Companion:
object
Source:
Decoder.scala
trait Serializable
class Object
trait Matchable
class Any
trait Codec[A]
trait AsRoot[A]
trait AsArray[A]
trait AsObject[A]
class OptionDecoder[A]

Value members

Abstract methods

def apply(c: HCursor): Result[A]
Implicitly added by decodeChain

Decode the given HCursor.

Decode the given HCursor.

Source:
Decoder.scala
def apply(c: HCursor): Result[A]
Implicitly added by decodeList

Decode the given HCursor.

Decode the given HCursor.

Source:
Decoder.scala
def apply(c: HCursor): Result[A]
Implicitly added by decodeNonEmptyChain

Decode the given HCursor.

Decode the given HCursor.

Source:
Decoder.scala
def apply(c: HCursor): Result[A]
Implicitly added by decodeNonEmptyList

Decode the given HCursor.

Decode the given HCursor.

Source:
Decoder.scala
def apply(c: HCursor): Result[A]
Implicitly added by decodeNonEmptyVector

Decode the given HCursor.

Decode the given HCursor.

Source:
Decoder.scala
def apply(c: HCursor): Result[A]
Implicitly added by decodeOption

Decode the given HCursor.

Decode the given HCursor.

Source:
Decoder.scala
def apply(c: HCursor): Result[A]
Implicitly added by decodeSeq

Decode the given HCursor.

Decode the given HCursor.

Source:
Decoder.scala
def apply(c: HCursor): Result[A]
Implicitly added by decodeSet

Decode the given HCursor.

Decode the given HCursor.

Source:
Decoder.scala
def apply(c: HCursor): Result[A]
Implicitly added by decodeSome

Decode the given HCursor.

Decode the given HCursor.

Source:
Decoder.scala
def apply(c: HCursor): Result[A]
Implicitly added by decodeTuple1

Decode the given HCursor.

Decode the given HCursor.

Source:
Decoder.scala
def apply(c: HCursor): Result[A]
Implicitly added by decodeUntaggedArraySeq

Decode the given HCursor.

Decode the given HCursor.

Source:
Decoder.scala
def apply(c: HCursor): Result[A]
Implicitly added by decodeVector

Decode the given HCursor.

Decode the given HCursor.

Source:
Decoder.scala
def apply(c: HCursor): Result[A]

Decode the given HCursor.

Decode the given HCursor.

Source:
Decoder.scala

Concrete methods

final def at(field: String): Decoder[A]
Implicitly added by decodeChain

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.

Source:
Decoder.scala
final def at(field: String): Decoder[A]
Implicitly added by decodeList

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.

Source:
Decoder.scala
final def at(field: String): Decoder[A]
Implicitly added by decodeNonEmptyChain

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.

Source:
Decoder.scala
final def at(field: String): Decoder[A]
Implicitly added by decodeNonEmptyList

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.

Source:
Decoder.scala
final def at(field: String): Decoder[A]
Implicitly added by decodeNonEmptyVector

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.

Source:
Decoder.scala
final def at(field: String): Decoder[A]
Implicitly added by decodeOption

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.

Source:
Decoder.scala
final def at(field: String): Decoder[A]
Implicitly added by decodeSeq

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.

Source:
Decoder.scala
final def at(field: String): Decoder[A]
Implicitly added by decodeSet

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.

Source:
Decoder.scala
final def at(field: String): Decoder[A]
Implicitly added by decodeSome

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.

Source:
Decoder.scala
final def at(field: String): Decoder[A]
Implicitly added by decodeTuple1

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.

Source:
Decoder.scala
final def at(field: String): Decoder[A]
Implicitly added by decodeUntaggedArraySeq

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.

Source:
Decoder.scala
final def at(field: String): Decoder[A]
Implicitly added by decodeVector

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.

Source:
Decoder.scala
final def at(field: String): Decoder[A]

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.

Source:
Decoder.scala
final def decodeJson(j: Json): Result[A]
Implicitly added by decodeChain

Decode the given Json value.

Decode the given Json value.

Source:
Decoder.scala
final def decodeJson(j: Json): Result[A]
Implicitly added by decodeList

Decode the given Json value.

Decode the given Json value.

Source:
Decoder.scala
final def decodeJson(j: Json): Result[A]
Implicitly added by decodeNonEmptyChain

Decode the given Json value.

Decode the given Json value.

Source:
Decoder.scala
final def decodeJson(j: Json): Result[A]
Implicitly added by decodeNonEmptyList

Decode the given Json value.

Decode the given Json value.

Source:
Decoder.scala
final def decodeJson(j: Json): Result[A]
Implicitly added by decodeNonEmptyVector

Decode the given Json value.

Decode the given Json value.

Source:
Decoder.scala
final def decodeJson(j: Json): Result[A]
Implicitly added by decodeOption

Decode the given Json value.

Decode the given Json value.

Source:
Decoder.scala
final def decodeJson(j: Json): Result[A]
Implicitly added by decodeSeq

Decode the given Json value.

Decode the given Json value.

Source:
Decoder.scala
final def decodeJson(j: Json): Result[A]
Implicitly added by decodeSet

Decode the given Json value.

Decode the given Json value.

Source:
Decoder.scala
final def decodeJson(j: Json): Result[A]
Implicitly added by decodeSome

Decode the given Json value.

Decode the given Json value.

Source:
Decoder.scala
final def decodeJson(j: Json): Result[A]
Implicitly added by decodeTuple1

Decode the given Json value.

Decode the given Json value.

Source:
Decoder.scala
final def decodeJson(j: Json): Result[A]
Implicitly added by decodeUntaggedArraySeq

Decode the given Json value.

Decode the given Json value.

Source:
Decoder.scala
final def decodeJson(j: Json): Result[A]
Implicitly added by decodeVector

Decode the given Json value.

Decode the given Json value.

Source:
Decoder.scala
final def decodeJson(j: Json): Result[A]

Decode the given Json value.

Decode the given Json value.

Source:
Decoder.scala
final def either[B](decodeB: Decoder[B]): Decoder[Either[A, B]]
Implicitly added by decodeChain

Choose the first succeeding decoder, wrapping the result in a disjunction.

Choose the first succeeding decoder, wrapping the result in a disjunction.

Source:
Decoder.scala
final def either[B](decodeB: Decoder[B]): Decoder[Either[A, B]]
Implicitly added by decodeList

Choose the first succeeding decoder, wrapping the result in a disjunction.

Choose the first succeeding decoder, wrapping the result in a disjunction.

Source:
Decoder.scala
final def either[B](decodeB: Decoder[B]): Decoder[Either[A, B]]
Implicitly added by decodeNonEmptyChain

Choose the first succeeding decoder, wrapping the result in a disjunction.

Choose the first succeeding decoder, wrapping the result in a disjunction.

Source:
Decoder.scala
final def either[B](decodeB: Decoder[B]): Decoder[Either[A, B]]
Implicitly added by decodeNonEmptyList

Choose the first succeeding decoder, wrapping the result in a disjunction.

Choose the first succeeding decoder, wrapping the result in a disjunction.

Source:
Decoder.scala
final def either[B](decodeB: Decoder[B]): Decoder[Either[A, B]]
Implicitly added by decodeNonEmptyVector

Choose the first succeeding decoder, wrapping the result in a disjunction.

Choose the first succeeding decoder, wrapping the result in a disjunction.

Source:
Decoder.scala
final def either[B](decodeB: Decoder[B]): Decoder[Either[A, B]]
Implicitly added by decodeOption

Choose the first succeeding decoder, wrapping the result in a disjunction.

Choose the first succeeding decoder, wrapping the result in a disjunction.

Source:
Decoder.scala
final def either[B](decodeB: Decoder[B]): Decoder[Either[A, B]]
Implicitly added by decodeSeq

Choose the first succeeding decoder, wrapping the result in a disjunction.

Choose the first succeeding decoder, wrapping the result in a disjunction.

Source:
Decoder.scala
final def either[B](decodeB: Decoder[B]): Decoder[Either[A, B]]
Implicitly added by decodeSet

Choose the first succeeding decoder, wrapping the result in a disjunction.

Choose the first succeeding decoder, wrapping the result in a disjunction.

Source:
Decoder.scala
final def either[B](decodeB: Decoder[B]): Decoder[Either[A, B]]
Implicitly added by decodeSome

Choose the first succeeding decoder, wrapping the result in a disjunction.

Choose the first succeeding decoder, wrapping the result in a disjunction.

Source:
Decoder.scala
final def either[B](decodeB: Decoder[B]): Decoder[Either[A, B]]
Implicitly added by decodeTuple1

Choose the first succeeding decoder, wrapping the result in a disjunction.

Choose the first succeeding decoder, wrapping the result in a disjunction.

Source:
Decoder.scala
final def either[B](decodeB: Decoder[B]): Decoder[Either[A, B]]
Implicitly added by decodeUntaggedArraySeq

Choose the first succeeding decoder, wrapping the result in a disjunction.

Choose the first succeeding decoder, wrapping the result in a disjunction.

Source:
Decoder.scala
final def either[B](decodeB: Decoder[B]): Decoder[Either[A, B]]
Implicitly added by decodeVector

Choose the first succeeding decoder, wrapping the result in a disjunction.

Choose the first succeeding decoder, wrapping the result in a disjunction.

Source:
Decoder.scala
final def either[B](decodeB: Decoder[B]): Decoder[Either[A, B]]

Choose the first succeeding decoder, wrapping the result in a disjunction.

Choose the first succeeding decoder, wrapping the result in a disjunction.

Source:
Decoder.scala
final def emap[B](f: A => Either[String, B]): Decoder[B]
Implicitly added by decodeChain

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

Source:
Decoder.scala
final def emap[B](f: A => Either[String, B]): Decoder[B]
Implicitly added by decodeList

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

Source:
Decoder.scala
final def emap[B](f: A => Either[String, B]): Decoder[B]
Implicitly added by decodeNonEmptyChain

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

Source:
Decoder.scala
final def emap[B](f: A => Either[String, B]): Decoder[B]
Implicitly added by decodeNonEmptyList

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

Source:
Decoder.scala
final def emap[B](f: A => Either[String, B]): Decoder[B]
Implicitly added by decodeNonEmptyVector

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

Source:
Decoder.scala
final def emap[B](f: A => Either[String, B]): Decoder[B]
Implicitly added by decodeOption

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

Source:
Decoder.scala
final def emap[B](f: A => Either[String, B]): Decoder[B]
Implicitly added by decodeSeq

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

Source:
Decoder.scala
final def emap[B](f: A => Either[String, B]): Decoder[B]
Implicitly added by decodeSet

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

Source:
Decoder.scala
final def emap[B](f: A => Either[String, B]): Decoder[B]
Implicitly added by decodeSome

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

Source:
Decoder.scala
final def emap[B](f: A => Either[String, B]): Decoder[B]
Implicitly added by decodeTuple1

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

Source:
Decoder.scala
final def emap[B](f: A => Either[String, B]): Decoder[B]
Implicitly added by decodeUntaggedArraySeq

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

Source:
Decoder.scala
final def emap[B](f: A => Either[String, B]): Decoder[B]
Implicitly added by decodeVector

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

Source:
Decoder.scala
final def emap[B](f: A => Either[String, B]): Decoder[B]

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

Source:
Decoder.scala
final def emapTry[B](f: A => Try[B]): Decoder[B]
Implicitly added by decodeChain

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

Source:
Decoder.scala
final def emapTry[B](f: A => Try[B]): Decoder[B]
Implicitly added by decodeList

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

Source:
Decoder.scala
final def emapTry[B](f: A => Try[B]): Decoder[B]
Implicitly added by decodeNonEmptyChain

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

Source:
Decoder.scala
final def emapTry[B](f: A => Try[B]): Decoder[B]
Implicitly added by decodeNonEmptyList

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

Source:
Decoder.scala
final def emapTry[B](f: A => Try[B]): Decoder[B]
Implicitly added by decodeNonEmptyVector

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

Source:
Decoder.scala
final def emapTry[B](f: A => Try[B]): Decoder[B]
Implicitly added by decodeOption

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

Source:
Decoder.scala
final def emapTry[B](f: A => Try[B]): Decoder[B]
Implicitly added by decodeSeq

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

Source:
Decoder.scala
final def emapTry[B](f: A => Try[B]): Decoder[B]
Implicitly added by decodeSet

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

Source:
Decoder.scala
final def emapTry[B](f: A => Try[B]): Decoder[B]
Implicitly added by decodeSome

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

Source:
Decoder.scala
final def emapTry[B](f: A => Try[B]): Decoder[B]
Implicitly added by decodeTuple1

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

Source:
Decoder.scala
final def emapTry[B](f: A => Try[B]): Decoder[B]
Implicitly added by decodeUntaggedArraySeq

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

Source:
Decoder.scala
final def emapTry[B](f: A => Try[B]): Decoder[B]
Implicitly added by decodeVector

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

Source:
Decoder.scala
final def emapTry[B](f: A => Try[B]): Decoder[B]

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

Source:
Decoder.scala
final def ensure(pred: A => Boolean, message: => String): Decoder[A]
Implicitly added by decodeChain

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.

Source:
Decoder.scala
final def ensure(errors: A => List[String]): Decoder[A]
Implicitly added by decodeChain

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.

Source:
Decoder.scala
final def ensure(pred: A => Boolean, message: => String): Decoder[A]
Implicitly added by decodeList

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.

Source:
Decoder.scala
final def ensure(errors: A => List[String]): Decoder[A]
Implicitly added by decodeList

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.

Source:
Decoder.scala
final def ensure(pred: A => Boolean, message: => String): Decoder[A]
Implicitly added by decodeNonEmptyChain

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.

Source:
Decoder.scala
final def ensure(errors: A => List[String]): Decoder[A]
Implicitly added by decodeNonEmptyChain

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.

Source:
Decoder.scala
final def ensure(pred: A => Boolean, message: => String): Decoder[A]
Implicitly added by decodeNonEmptyList

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.

Source:
Decoder.scala
final def ensure(errors: A => List[String]): Decoder[A]
Implicitly added by decodeNonEmptyList

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.

Source:
Decoder.scala
final def ensure(pred: A => Boolean, message: => String): Decoder[A]
Implicitly added by decodeNonEmptyVector

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.

Source:
Decoder.scala
final def ensure(errors: A => List[String]): Decoder[A]
Implicitly added by decodeNonEmptyVector

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.

Source:
Decoder.scala
final def ensure(pred: A => Boolean, message: => String): Decoder[A]
Implicitly added by decodeOption

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.

Source:
Decoder.scala
final def ensure(errors: A => List[String]): Decoder[A]
Implicitly added by decodeOption

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.

Source:
Decoder.scala
final def ensure(pred: A => Boolean, message: => String): Decoder[A]
Implicitly added by decodeSeq

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.

Source:
Decoder.scala
final def ensure(errors: A => List[String]): Decoder[A]
Implicitly added by decodeSeq

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.

Source:
Decoder.scala
final def ensure(pred: A => Boolean, message: => String): Decoder[A]
Implicitly added by decodeSet

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.

Source:
Decoder.scala
final def ensure(errors: A => List[String]): Decoder[A]
Implicitly added by decodeSet

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.

Source:
Decoder.scala
final def ensure(pred: A => Boolean, message: => String): Decoder[A]
Implicitly added by decodeSome

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.

Source:
Decoder.scala
final def ensure(errors: A => List[String]): Decoder[A]
Implicitly added by decodeSome

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.

Source:
Decoder.scala
final def ensure(pred: A => Boolean, message: => String): Decoder[A]
Implicitly added by decodeTuple1

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.

Source:
Decoder.scala
final def ensure(errors: A => List[String]): Decoder[A]
Implicitly added by decodeTuple1

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.

Source:
Decoder.scala
final def ensure(pred: A => Boolean, message: => String): Decoder[A]
Implicitly added by decodeUntaggedArraySeq

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.

Source:
Decoder.scala
final def ensure(errors: A => List[String]): Decoder[A]
Implicitly added by decodeUntaggedArraySeq

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.

Source:
Decoder.scala
final def ensure(pred: A => Boolean, message: => String): Decoder[A]
Implicitly added by decodeVector

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.

Source:
Decoder.scala
final def ensure(errors: A => List[String]): Decoder[A]
Implicitly added by decodeVector

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.

Source:
Decoder.scala
final def ensure(pred: A => Boolean, message: => String): Decoder[A]

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.

Source:
Decoder.scala
final def ensure(errors: A => List[String]): Decoder[A]

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.

Source:
Decoder.scala
final def flatMap[B](f: A => Decoder[B]): Decoder[B]
Implicitly added by decodeChain

Monadically bind a function over this Decoder.

Monadically bind a function over this Decoder.

Source:
Decoder.scala
final def flatMap[B](f: A => Decoder[B]): Decoder[B]
Implicitly added by decodeList

Monadically bind a function over this Decoder.

Monadically bind a function over this Decoder.

Source:
Decoder.scala
final def flatMap[B](f: A => Decoder[B]): Decoder[B]
Implicitly added by decodeNonEmptyChain

Monadically bind a function over this Decoder.

Monadically bind a function over this Decoder.

Source:
Decoder.scala
final def flatMap[B](f: A => Decoder[B]): Decoder[B]
Implicitly added by decodeNonEmptyList

Monadically bind a function over this Decoder.

Monadically bind a function over this Decoder.

Source:
Decoder.scala
final def flatMap[B](f: A => Decoder[B]): Decoder[B]
Implicitly added by decodeNonEmptyVector

Monadically bind a function over this Decoder.

Monadically bind a function over this Decoder.

Source:
Decoder.scala
final def flatMap[B](f: A => Decoder[B]): Decoder[B]
Implicitly added by decodeOption

Monadically bind a function over this Decoder.

Monadically bind a function over this Decoder.

Source:
Decoder.scala
final def flatMap[B](f: A => Decoder[B]): Decoder[B]
Implicitly added by decodeSeq

Monadically bind a function over this Decoder.

Monadically bind a function over this Decoder.

Source:
Decoder.scala
final def flatMap[B](f: A => Decoder[B]): Decoder[B]
Implicitly added by decodeSet

Monadically bind a function over this Decoder.

Monadically bind a function over this Decoder.

Source:
Decoder.scala
final def flatMap[B](f: A => Decoder[B]): Decoder[B]
Implicitly added by decodeSome

Monadically bind a function over this Decoder.

Monadically bind a function over this Decoder.

Source:
Decoder.scala
final def flatMap[B](f: A => Decoder[B]): Decoder[B]
Implicitly added by decodeTuple1

Monadically bind a function over this Decoder.

Monadically bind a function over this Decoder.

Source:
Decoder.scala
final def flatMap[B](f: A => Decoder[B]): Decoder[B]
Implicitly added by decodeUntaggedArraySeq

Monadically bind a function over this Decoder.

Monadically bind a function over this Decoder.

Source:
Decoder.scala
final def flatMap[B](f: A => Decoder[B]): Decoder[B]
Implicitly added by decodeVector

Monadically bind a function over this Decoder.

Monadically bind a function over this Decoder.

Source:
Decoder.scala
final def flatMap[B](f: A => Decoder[B]): Decoder[B]

Monadically bind a function over this Decoder.

Monadically bind a function over this Decoder.

Source:
Decoder.scala
Implicitly added by decodeChain

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.

Source:
Decoder.scala
Implicitly added by decodeList

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.

Source:
Decoder.scala
Implicitly added by decodeNonEmptyChain

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.

Source:
Decoder.scala
Implicitly added by decodeNonEmptyList

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.

Source:
Decoder.scala
Implicitly added by decodeNonEmptyVector

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.

Source:
Decoder.scala
Implicitly added by decodeOption

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.

Source:
Decoder.scala
Implicitly added by decodeSeq

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.

Source:
Decoder.scala
Implicitly added by decodeSet

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.

Source:
Decoder.scala
Implicitly added by decodeSome

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.

Source:
Decoder.scala
Implicitly added by decodeTuple1

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.

Source:
Decoder.scala
Implicitly added by decodeUntaggedArraySeq

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.

Source:
Decoder.scala
Implicitly added by decodeVector

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.

Source:
Decoder.scala

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.

Source:
Decoder.scala
final def kleisli: Kleisli[Result, HCursor, A]
Implicitly added by decodeChain

Convert to a Kleisli arrow.

Convert to a Kleisli arrow.

Source:
Decoder.scala
final def kleisli: Kleisli[Result, HCursor, A]
Implicitly added by decodeList

Convert to a Kleisli arrow.

Convert to a Kleisli arrow.

Source:
Decoder.scala
final def kleisli: Kleisli[Result, HCursor, A]
Implicitly added by decodeNonEmptyChain

Convert to a Kleisli arrow.

Convert to a Kleisli arrow.

Source:
Decoder.scala
final def kleisli: Kleisli[Result, HCursor, A]
Implicitly added by decodeNonEmptyList

Convert to a Kleisli arrow.

Convert to a Kleisli arrow.

Source:
Decoder.scala
final def kleisli: Kleisli[Result, HCursor, A]
Implicitly added by decodeNonEmptyVector

Convert to a Kleisli arrow.

Convert to a Kleisli arrow.

Source:
Decoder.scala
final def kleisli: Kleisli[Result, HCursor, A]
Implicitly added by decodeOption

Convert to a Kleisli arrow.

Convert to a Kleisli arrow.

Source:
Decoder.scala
final def kleisli: Kleisli[Result, HCursor, A]
Implicitly added by decodeSeq

Convert to a Kleisli arrow.

Convert to a Kleisli arrow.

Source:
Decoder.scala
final def kleisli: Kleisli[Result, HCursor, A]
Implicitly added by decodeSet

Convert to a Kleisli arrow.

Convert to a Kleisli arrow.

Source:
Decoder.scala
final def kleisli: Kleisli[Result, HCursor, A]
Implicitly added by decodeSome

Convert to a Kleisli arrow.

Convert to a Kleisli arrow.

Source:
Decoder.scala
final def kleisli: Kleisli[Result, HCursor, A]
Implicitly added by decodeTuple1

Convert to a Kleisli arrow.

Convert to a Kleisli arrow.

Source:
Decoder.scala
final def kleisli: Kleisli[Result, HCursor, A]
Implicitly added by decodeUntaggedArraySeq

Convert to a Kleisli arrow.

Convert to a Kleisli arrow.

Source:
Decoder.scala
final def kleisli: Kleisli[Result, HCursor, A]
Implicitly added by decodeVector

Convert to a Kleisli arrow.

Convert to a Kleisli arrow.

Source:
Decoder.scala
final def kleisli: Kleisli[Result, HCursor, A]

Convert to a Kleisli arrow.

Convert to a Kleisli arrow.

Source:
Decoder.scala
final def map[B](f: A => B): Decoder[B]
Implicitly added by decodeChain

Map a function over this Decoder.

Map a function over this Decoder.

Source:
Decoder.scala
final def map[B](f: A => B): Decoder[B]
Implicitly added by decodeList

Map a function over this Decoder.

Map a function over this Decoder.

Source:
Decoder.scala
final def map[B](f: A => B): Decoder[B]
Implicitly added by decodeNonEmptyChain

Map a function over this Decoder.

Map a function over this Decoder.

Source:
Decoder.scala
final def map[B](f: A => B): Decoder[B]
Implicitly added by decodeNonEmptyList

Map a function over this Decoder.

Map a function over this Decoder.

Source:
Decoder.scala
final def map[B](f: A => B): Decoder[B]
Implicitly added by decodeNonEmptyVector

Map a function over this Decoder.

Map a function over this Decoder.

Source:
Decoder.scala
final def map[B](f: A => B): Decoder[B]
Implicitly added by decodeOption

Map a function over this Decoder.

Map a function over this Decoder.

Source:
Decoder.scala
final def map[B](f: A => B): Decoder[B]
Implicitly added by decodeSeq

Map a function over this Decoder.

Map a function over this Decoder.

Source:
Decoder.scala
final def map[B](f: A => B): Decoder[B]
Implicitly added by decodeSet

Map a function over this Decoder.

Map a function over this Decoder.

Source:
Decoder.scala
final def map[B](f: A => B): Decoder[B]
Implicitly added by decodeSome

Map a function over this Decoder.

Map a function over this Decoder.

Source:
Decoder.scala
final def map[B](f: A => B): Decoder[B]
Implicitly added by decodeTuple1

Map a function over this Decoder.

Map a function over this Decoder.

Source:
Decoder.scala
final def map[B](f: A => B): Decoder[B]
Implicitly added by decodeUntaggedArraySeq

Map a function over this Decoder.

Map a function over this Decoder.

Source:
Decoder.scala
final def map[B](f: A => B): Decoder[B]
Implicitly added by decodeVector

Map a function over this Decoder.

Map a function over this Decoder.

Source:
Decoder.scala
final def map[B](f: A => B): Decoder[B]

Map a function over this Decoder.

Map a function over this Decoder.

Source:
Decoder.scala
final def or[AA >: A](d: => Decoder[AA]): Decoder[AA]
Implicitly added by decodeChain

Choose the first succeeding decoder.

Choose the first succeeding decoder.

Source:
Decoder.scala
final def or[AA >: A](d: => Decoder[AA]): Decoder[AA]
Implicitly added by decodeList

Choose the first succeeding decoder.

Choose the first succeeding decoder.

Source:
Decoder.scala
final def or[AA >: A](d: => Decoder[AA]): Decoder[AA]
Implicitly added by decodeNonEmptyChain

Choose the first succeeding decoder.

Choose the first succeeding decoder.

Source:
Decoder.scala
final def or[AA >: A](d: => Decoder[AA]): Decoder[AA]
Implicitly added by decodeNonEmptyList

Choose the first succeeding decoder.

Choose the first succeeding decoder.

Source:
Decoder.scala
final def or[AA >: A](d: => Decoder[AA]): Decoder[AA]
Implicitly added by decodeNonEmptyVector

Choose the first succeeding decoder.

Choose the first succeeding decoder.

Source:
Decoder.scala
final def or[AA >: A](d: => Decoder[AA]): Decoder[AA]
Implicitly added by decodeOption

Choose the first succeeding decoder.

Choose the first succeeding decoder.

Source:
Decoder.scala
final def or[AA >: A](d: => Decoder[AA]): Decoder[AA]
Implicitly added by decodeSeq

Choose the first succeeding decoder.

Choose the first succeeding decoder.

Source:
Decoder.scala
final def or[AA >: A](d: => Decoder[AA]): Decoder[AA]
Implicitly added by decodeSet

Choose the first succeeding decoder.

Choose the first succeeding decoder.

Source:
Decoder.scala
final def or[AA >: A](d: => Decoder[AA]): Decoder[AA]
Implicitly added by decodeSome

Choose the first succeeding decoder.

Choose the first succeeding decoder.

Source:
Decoder.scala
final def or[AA >: A](d: => Decoder[AA]): Decoder[AA]
Implicitly added by decodeTuple1

Choose the first succeeding decoder.

Choose the first succeeding decoder.

Source:
Decoder.scala
final def or[AA >: A](d: => Decoder[AA]): Decoder[AA]
Implicitly added by decodeUntaggedArraySeq

Choose the first succeeding decoder.

Choose the first succeeding decoder.

Source:
Decoder.scala
final def or[AA >: A](d: => Decoder[AA]): Decoder[AA]
Implicitly added by decodeVector

Choose the first succeeding decoder.

Choose the first succeeding decoder.

Source:
Decoder.scala
final def or[AA >: A](d: => Decoder[AA]): Decoder[AA]

Choose the first succeeding decoder.

Choose the first succeeding decoder.

Source:
Decoder.scala
final def prepare(f: ACursor => ACursor): Decoder[A]
Implicitly added by decodeChain

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.

Source:
Decoder.scala
final def prepare(f: ACursor => ACursor): Decoder[A]
Implicitly added by decodeList

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.

Source:
Decoder.scala
final def prepare(f: ACursor => ACursor): Decoder[A]
Implicitly added by decodeNonEmptyChain

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.

Source:
Decoder.scala
final def prepare(f: ACursor => ACursor): Decoder[A]
Implicitly added by decodeNonEmptyList

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.

Source:
Decoder.scala
final def prepare(f: ACursor => ACursor): Decoder[A]
Implicitly added by decodeNonEmptyVector

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.

Source:
Decoder.scala
final def prepare(f: ACursor => ACursor): Decoder[A]
Implicitly added by decodeOption

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.

Source:
Decoder.scala
final def prepare(f: ACursor => ACursor): Decoder[A]
Implicitly added by decodeSeq

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.

Source:
Decoder.scala
final def prepare(f: ACursor => ACursor): Decoder[A]
Implicitly added by decodeSet

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.

Source:
Decoder.scala
final def prepare(f: ACursor => ACursor): Decoder[A]
Implicitly added by decodeSome

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.

Source:
Decoder.scala
final def prepare(f: ACursor => ACursor): Decoder[A]
Implicitly added by decodeTuple1

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.

Source:
Decoder.scala
final def prepare(f: ACursor => ACursor): Decoder[A]
Implicitly added by decodeUntaggedArraySeq

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.

Source:
Decoder.scala
final def prepare(f: ACursor => ACursor): Decoder[A]
Implicitly added by decodeVector

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.

Source:
Decoder.scala
final def prepare(f: ACursor => ACursor): Decoder[A]

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.

Source:
Decoder.scala
final def product[B](fb: Decoder[B]): Decoder[(A, B)]
Implicitly added by decodeChain

Run two decoders and return their results as a pair.

Run two decoders and return their results as a pair.

Source:
Decoder.scala
final def product[B](fb: Decoder[B]): Decoder[(A, B)]
Implicitly added by decodeList

Run two decoders and return their results as a pair.

Run two decoders and return their results as a pair.

Source:
Decoder.scala
final def product[B](fb: Decoder[B]): Decoder[(A, B)]
Implicitly added by decodeNonEmptyChain

Run two decoders and return their results as a pair.

Run two decoders and return their results as a pair.

Source:
Decoder.scala
final def product[B](fb: Decoder[B]): Decoder[(A, B)]
Implicitly added by decodeNonEmptyList

Run two decoders and return their results as a pair.

Run two decoders and return their results as a pair.

Source:
Decoder.scala
final def product[B](fb: Decoder[B]): Decoder[(A, B)]
Implicitly added by decodeNonEmptyVector

Run two decoders and return their results as a pair.

Run two decoders and return their results as a pair.

Source:
Decoder.scala
final def product[B](fb: Decoder[B]): Decoder[(A, B)]
Implicitly added by decodeOption

Run two decoders and return their results as a pair.

Run two decoders and return their results as a pair.

Source:
Decoder.scala
final def product[B](fb: Decoder[B]): Decoder[(A, B)]
Implicitly added by decodeSeq

Run two decoders and return their results as a pair.

Run two decoders and return their results as a pair.

Source:
Decoder.scala
final def product[B](fb: Decoder[B]): Decoder[(A, B)]
Implicitly added by decodeSet

Run two decoders and return their results as a pair.

Run two decoders and return their results as a pair.

Source:
Decoder.scala
final def product[B](fb: Decoder[B]): Decoder[(A, B)]
Implicitly added by decodeSome

Run two decoders and return their results as a pair.

Run two decoders and return their results as a pair.

Source:
Decoder.scala
final def product[B](fb: Decoder[B]): Decoder[(A, B)]
Implicitly added by decodeTuple1

Run two decoders and return their results as a pair.

Run two decoders and return their results as a pair.

Source:
Decoder.scala
final def product[B](fb: Decoder[B]): Decoder[(A, B)]
Implicitly added by decodeUntaggedArraySeq

Run two decoders and return their results as a pair.

Run two decoders and return their results as a pair.

Source:
Decoder.scala
final def product[B](fb: Decoder[B]): Decoder[(A, B)]
Implicitly added by decodeVector

Run two decoders and return their results as a pair.

Run two decoders and return their results as a pair.

Source:
Decoder.scala
final def product[B](fb: Decoder[B]): Decoder[(A, B)]

Run two decoders and return their results as a pair.

Run two decoders and return their results as a pair.

Source:
Decoder.scala
Implicitly added by decodeChain

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.

Source:
Decoder.scala
Implicitly added by decodeList

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.

Source:
Decoder.scala
Implicitly added by decodeNonEmptyChain

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.

Source:
Decoder.scala
Implicitly added by decodeNonEmptyList

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.

Source:
Decoder.scala
Implicitly added by decodeNonEmptyVector

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.

Source:
Decoder.scala
Implicitly added by decodeOption

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.

Source:
Decoder.scala
Implicitly added by decodeSeq

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.

Source:
Decoder.scala
Implicitly added by decodeSet

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.

Source:
Decoder.scala
Implicitly added by decodeSome

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.

Source:
Decoder.scala
Implicitly added by decodeTuple1

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.

Source:
Decoder.scala
Implicitly added by decodeUntaggedArraySeq

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.

Source:
Decoder.scala
Implicitly added by decodeVector

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.

Source:
Decoder.scala

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.

Source:
Decoder.scala
final def validate(errors: HCursor => List[String]): Decoder[A]
Implicitly added by decodeChain

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.

Source:
Decoder.scala
final def validate(pred: HCursor => Boolean, message: => String): Decoder[A]
Implicitly added by decodeChain

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.

Source:
Decoder.scala
final def validate(errors: HCursor => List[String]): Decoder[A]
Implicitly added by decodeList

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.

Source:
Decoder.scala
final def validate(pred: HCursor => Boolean, message: => String): Decoder[A]
Implicitly added by decodeList

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.

Source:
Decoder.scala
final def validate(errors: HCursor => List[String]): Decoder[A]
Implicitly added by decodeNonEmptyChain

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.

Source:
Decoder.scala
final def validate(pred: HCursor => Boolean, message: => String): Decoder[A]
Implicitly added by decodeNonEmptyChain

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.

Source:
Decoder.scala
final def validate(errors: HCursor => List[String]): Decoder[A]
Implicitly added by decodeNonEmptyList

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.

Source:
Decoder.scala
final def validate(pred: HCursor => Boolean, message: => String): Decoder[A]
Implicitly added by decodeNonEmptyList

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.

Source:
Decoder.scala
final def validate(errors: HCursor => List[String]): Decoder[A]
Implicitly added by decodeNonEmptyVector

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.

Source:
Decoder.scala
final def validate(pred: HCursor => Boolean, message: => String): Decoder[A]
Implicitly added by decodeNonEmptyVector

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.

Source:
Decoder.scala
final def validate(errors: HCursor => List[String]): Decoder[A]
Implicitly added by decodeOption

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.

Source:
Decoder.scala
final def validate(pred: HCursor => Boolean, message: => String): Decoder[A]
Implicitly added by decodeOption

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.

Source:
Decoder.scala
final def validate(errors: HCursor => List[String]): Decoder[A]
Implicitly added by decodeSeq

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.

Source:
Decoder.scala
final def validate(pred: HCursor => Boolean, message: => String): Decoder[A]
Implicitly added by decodeSeq

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.

Source:
Decoder.scala
final def validate(errors: HCursor => List[String]): Decoder[A]
Implicitly added by decodeSet

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.

Source:
Decoder.scala
final def validate(pred: HCursor => Boolean, message: => String): Decoder[A]
Implicitly added by decodeSet

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.

Source:
Decoder.scala
final def validate(errors: HCursor => List[String]): Decoder[A]
Implicitly added by decodeSome

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.

Source:
Decoder.scala
final def validate(pred: HCursor => Boolean, message: => String): Decoder[A]
Implicitly added by decodeSome

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.

Source:
Decoder.scala
final def validate(errors: HCursor => List[String]): Decoder[A]
Implicitly added by decodeTuple1

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.

Source:
Decoder.scala
final def validate(pred: HCursor => Boolean, message: => String): Decoder[A]
Implicitly added by decodeTuple1

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.

Source:
Decoder.scala
final def validate(errors: HCursor => List[String]): Decoder[A]
Implicitly added by decodeUntaggedArraySeq

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.

Source:
Decoder.scala
final def validate(pred: HCursor => Boolean, message: => String): Decoder[A]
Implicitly added by decodeUntaggedArraySeq

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.

Source:
Decoder.scala
final def validate(errors: HCursor => List[String]): Decoder[A]
Implicitly added by decodeVector

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.

Source:
Decoder.scala
final def validate(pred: HCursor => Boolean, message: => String): Decoder[A]
Implicitly added by decodeVector

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.

Source:
Decoder.scala
final def validate(errors: HCursor => List[String]): Decoder[A]

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.

Source:
Decoder.scala
final def validate(pred: HCursor => Boolean, message: => String): Decoder[A]

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.

Source:
Decoder.scala
final def withErrorMessage(message: String): Decoder[A]
Implicitly added by decodeChain

Build a new instance with the specified error message.

Build a new instance with the specified error message.

Source:
Decoder.scala
final def withErrorMessage(message: String): Decoder[A]
Implicitly added by decodeList

Build a new instance with the specified error message.

Build a new instance with the specified error message.

Source:
Decoder.scala
final def withErrorMessage(message: String): Decoder[A]
Implicitly added by decodeNonEmptyChain

Build a new instance with the specified error message.

Build a new instance with the specified error message.

Source:
Decoder.scala
final def withErrorMessage(message: String): Decoder[A]
Implicitly added by decodeNonEmptyList

Build a new instance with the specified error message.

Build a new instance with the specified error message.

Source:
Decoder.scala
final def withErrorMessage(message: String): Decoder[A]
Implicitly added by decodeNonEmptyVector

Build a new instance with the specified error message.

Build a new instance with the specified error message.

Source:
Decoder.scala
final def withErrorMessage(message: String): Decoder[A]
Implicitly added by decodeOption

Build a new instance with the specified error message.

Build a new instance with the specified error message.

Source:
Decoder.scala
final def withErrorMessage(message: String): Decoder[A]
Implicitly added by decodeSeq

Build a new instance with the specified error message.

Build a new instance with the specified error message.

Source:
Decoder.scala
final def withErrorMessage(message: String): Decoder[A]
Implicitly added by decodeSet

Build a new instance with the specified error message.

Build a new instance with the specified error message.

Source:
Decoder.scala
final def withErrorMessage(message: String): Decoder[A]
Implicitly added by decodeSome

Build a new instance with the specified error message.

Build a new instance with the specified error message.

Source:
Decoder.scala
final def withErrorMessage(message: String): Decoder[A]
Implicitly added by decodeTuple1

Build a new instance with the specified error message.

Build a new instance with the specified error message.

Source:
Decoder.scala
final def withErrorMessage(message: String): Decoder[A]
Implicitly added by decodeUntaggedArraySeq

Build a new instance with the specified error message.

Build a new instance with the specified error message.

Source:
Decoder.scala
final def withErrorMessage(message: String): Decoder[A]
Implicitly added by decodeVector

Build a new instance with the specified error message.

Build a new instance with the specified error message.

Source:
Decoder.scala
final def withErrorMessage(message: String): Decoder[A]

Build a new instance with the specified error message.

Build a new instance with the specified error message.

Source:
Decoder.scala