io.circe

Decoder

object Decoder extends TupleDecoders with ProductDecoders with LowPriorityDecoders with Serializable

Utilities and instances for Decoder.

Linear Supertypes
Serializable, Serializable, LowPriorityDecoders, ProductDecoders, TupleDecoders, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Decoder
  2. Serializable
  3. Serializable
  4. LowPriorityDecoders
  5. ProductDecoders
  6. TupleDecoders
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. type Result[A] = Either[DecodingFailure, A]

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def apply[A](implicit instance: Decoder[A]): Decoder[A]

    Return an instance for a given type.

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def const[A](a: A): Decoder[A]

    Create a decoder that always returns a single value, useful with some flatMap situations.

  10. implicit final def decodeArray[A](implicit decodeA: Decoder[A], cbf: CanBuildFrom[Nothing, A, Array[A]]): Decoder[Array[A]]

  11. implicit final val decodeBigDecimal: Decoder[BigDecimal]

    Decode a JSON value into a scala.math.BigDecimal.

    Decode a JSON value into a scala.math.BigDecimal.

    Note that decoding will fail on some very large values that could in principle be represented as BigDecimals (specifically if the scale is out of the range of scala.Int when the unscaledValue is adjusted to have no trailing zeros). These large values can, however, be round-tripped through JsonNumber, so you may wish to use decodeJsonNumber in these cases.

    Also note that because scala.scalajs.js.JSON parses JSON numbers into a floating point representation, decoding a JSON number into a BigDecimal on Scala.js may lose precision.

  12. implicit final val decodeBigInt: Decoder[BigInt]

    Decode a JSON value into a scala.math.BigInt.

    Decode a JSON value into a scala.math.BigInt.

    Note that decoding will fail if the number has a large number of digits (the limit is currently 1 << 18, or around a quarter million). Larger numbers can be decoded by mapping over a scala.math.BigDecimal, but be aware that the conversion to the integral form can be computationally expensive.

  13. implicit final val decodeBoolean: Decoder[Boolean]

  14. implicit final val decodeByte: Decoder[Byte]

    Decode a JSON value into a scala.Byte.

    Decode a JSON value into a scala.Byte.

    See decodeLong for discussion of the approach taken for integral decoding.

  15. implicit final val decodeChar: Decoder[Char]

  16. implicit final val decodeDouble: Decoder[Double]

    Decode a JSON value into a scala.Double.

    Decode a JSON value into a scala.Double.

    Unlike the integral decoders provided here, this decoder will accept values that are too large to be represented and will return them as PositiveInfinity or NegativeInfinity, and it may lose precision.

  17. final def decodeEither[A, B](leftKey: String, rightKey: String)(implicit da: Decoder[A], db: Decoder[B]): Decoder[Either[A, B]]

  18. implicit final val decodeFloat: Decoder[Float]

    Decode a JSON value into a scala.Float.

    Decode a JSON value into a scala.Float.

    See decodeDouble for discussion of the approach taken for floating-point decoding.

  19. implicit final val decodeHCursor: Decoder[HCursor]

  20. implicit final val decodeInt: Decoder[Int]

    Decode a JSON value into a scala.Int.

    Decode a JSON value into a scala.Int.

    See decodeLong for discussion of the approach taken for integral decoding.

  21. implicit final val decodeJson: Decoder[Json]

  22. implicit final val decodeJsonNumber: Decoder[JsonNumber]

  23. implicit final val decodeJsonObject: Decoder[JsonObject]

  24. implicit final def decodeList[A](implicit decodeA: Decoder[A]): Decoder[List[A]]

  25. implicit final val decodeLong: Decoder[Long]

    Decode a JSON value into a scala.Long.

    Decode a JSON value into a scala.Long.

    Decoding will fail if the value doesn't represent a whole number within the range of the target type (although it can have a decimal part: e.g. 10.0 will be successfully decoded, but 10.01 will not). If the value is a JSON string, the decoder will attempt to parse it as a number.

  26. implicit final def decodeMap[K, V](implicit decodeK: KeyDecoder[K], decodeV: Decoder[V]): Decoder[Map[K, V]]

  27. implicit final def decodeMapLike[K, V, M[K, V] <: Map[K, V]](implicit decodeK: KeyDecoder[K], decodeV: Decoder[V], cbf: CanBuildFrom[Nothing, (K, V), M[K, V]]): Decoder[M[K, V]]

    Note

    The resulting instance will not be serializable (in the java.io.Serializable sense) unless the provided scala.collection.generic.CanBuildFrom is serializable.

  28. implicit final def decodeNonEmptyList[A](implicit decodeA: Decoder[A]): Decoder[NonEmptyList[A]]

  29. implicit final def decodeNonEmptyVector[A](implicit decodeA: Decoder[A]): Decoder[NonEmptyVector[A]]

  30. implicit final val decodeNone: Decoder[None.type]

  31. implicit final def decodeOneAnd[A, C[_]](implicit decodeA: Decoder[A], cbf: CanBuildFrom[Nothing, A, C[A]]): Decoder[OneAnd[C, A]]

    Note

    The resulting instance will not be serializable (in the java.io.Serializable sense) unless the provided scala.collection.generic.CanBuildFrom is serializable.

  32. implicit final def decodeOption[A](implicit d: Decoder[A]): Decoder[Option[A]]

  33. implicit final def decodeSeq[A](implicit decodeA: Decoder[A]): Decoder[Seq[A]]

  34. implicit final def decodeSet[A](implicit decodeA: Decoder[A]): Decoder[Set[A]]

  35. implicit final val decodeShort: Decoder[Short]

    Decode a JSON value into a scala.Short.

    Decode a JSON value into a scala.Short.

    See decodeLong for discussion of the approach taken for integral decoding.

  36. implicit final def decodeSome[A](implicit d: Decoder[A]): Decoder[Some[A]]

  37. implicit final val decodeString: Decoder[String]

  38. implicit final def decodeTraversable[A, C[A] <: Traversable[A]](implicit decodeA: Decoder[A], cbf: CanBuildFrom[Nothing, A, C[A]]): Decoder[C[A]]

    Note

    The resulting instance will not be serializable (in the java.io.Serializable sense) unless the provided scala.collection.generic.CanBuildFrom is serializable.

  39. implicit final def decodeTuple1[A0](implicit decodeA0: Decoder[A0]): Decoder[(A0)]

    Definition Classes
    TupleDecoders
  40. implicit final def decodeTuple10[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9](implicit decodeA0: Decoder[A0], decodeA1: Decoder[A1], decodeA2: Decoder[A2], decodeA3: Decoder[A3], decodeA4: Decoder[A4], decodeA5: Decoder[A5], decodeA6: Decoder[A6], decodeA7: Decoder[A7], decodeA8: Decoder[A8], decodeA9: Decoder[A9]): Decoder[(A0, A1, A2, A3, A4, A5, A6, A7, A8, A9)]

    Definition Classes
    TupleDecoders
  41. implicit final def decodeTuple11[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10](implicit decodeA0: Decoder[A0], decodeA1: Decoder[A1], decodeA2: Decoder[A2], decodeA3: Decoder[A3], decodeA4: Decoder[A4], decodeA5: Decoder[A5], decodeA6: Decoder[A6], decodeA7: Decoder[A7], decodeA8: Decoder[A8], decodeA9: Decoder[A9], decodeA10: Decoder[A10]): Decoder[(A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10)]

    Definition Classes
    TupleDecoders
  42. implicit final def decodeTuple12[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11](implicit decodeA0: Decoder[A0], decodeA1: Decoder[A1], decodeA2: Decoder[A2], decodeA3: Decoder[A3], decodeA4: Decoder[A4], decodeA5: Decoder[A5], decodeA6: Decoder[A6], decodeA7: Decoder[A7], decodeA8: Decoder[A8], decodeA9: Decoder[A9], decodeA10: Decoder[A10], decodeA11: Decoder[A11]): Decoder[(A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11)]

    Definition Classes
    TupleDecoders
  43. implicit final def decodeTuple13[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12](implicit decodeA0: Decoder[A0], decodeA1: Decoder[A1], decodeA2: Decoder[A2], decodeA3: Decoder[A3], decodeA4: Decoder[A4], decodeA5: Decoder[A5], decodeA6: Decoder[A6], decodeA7: Decoder[A7], decodeA8: Decoder[A8], decodeA9: Decoder[A9], decodeA10: Decoder[A10], decodeA11: Decoder[A11], decodeA12: Decoder[A12]): Decoder[(A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12)]

    Definition Classes
    TupleDecoders
  44. implicit final def decodeTuple14[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13](implicit decodeA0: Decoder[A0], decodeA1: Decoder[A1], decodeA2: Decoder[A2], decodeA3: Decoder[A3], decodeA4: Decoder[A4], decodeA5: Decoder[A5], decodeA6: Decoder[A6], decodeA7: Decoder[A7], decodeA8: Decoder[A8], decodeA9: Decoder[A9], decodeA10: Decoder[A10], decodeA11: Decoder[A11], decodeA12: Decoder[A12], decodeA13: Decoder[A13]): Decoder[(A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13)]

    Definition Classes
    TupleDecoders
  45. implicit final def decodeTuple15[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14](implicit decodeA0: Decoder[A0], decodeA1: Decoder[A1], decodeA2: Decoder[A2], decodeA3: Decoder[A3], decodeA4: Decoder[A4], decodeA5: Decoder[A5], decodeA6: Decoder[A6], decodeA7: Decoder[A7], decodeA8: Decoder[A8], decodeA9: Decoder[A9], decodeA10: Decoder[A10], decodeA11: Decoder[A11], decodeA12: Decoder[A12], decodeA13: Decoder[A13], decodeA14: Decoder[A14]): Decoder[(A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14)]

    Definition Classes
    TupleDecoders
  46. implicit final def decodeTuple16[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15](implicit decodeA0: Decoder[A0], decodeA1: Decoder[A1], decodeA2: Decoder[A2], decodeA3: Decoder[A3], decodeA4: Decoder[A4], decodeA5: Decoder[A5], decodeA6: Decoder[A6], decodeA7: Decoder[A7], decodeA8: Decoder[A8], decodeA9: Decoder[A9], decodeA10: Decoder[A10], decodeA11: Decoder[A11], decodeA12: Decoder[A12], decodeA13: Decoder[A13], decodeA14: Decoder[A14], decodeA15: Decoder[A15]): Decoder[(A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15)]

    Definition Classes
    TupleDecoders
  47. implicit final def decodeTuple17[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16](implicit decodeA0: Decoder[A0], decodeA1: Decoder[A1], decodeA2: Decoder[A2], decodeA3: Decoder[A3], decodeA4: Decoder[A4], decodeA5: Decoder[A5], decodeA6: Decoder[A6], decodeA7: Decoder[A7], decodeA8: Decoder[A8], decodeA9: Decoder[A9], decodeA10: Decoder[A10], decodeA11: Decoder[A11], decodeA12: Decoder[A12], decodeA13: Decoder[A13], decodeA14: Decoder[A14], decodeA15: Decoder[A15], decodeA16: Decoder[A16]): Decoder[(A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16)]

    Definition Classes
    TupleDecoders
  48. implicit final def decodeTuple18[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17](implicit decodeA0: Decoder[A0], decodeA1: Decoder[A1], decodeA2: Decoder[A2], decodeA3: Decoder[A3], decodeA4: Decoder[A4], decodeA5: Decoder[A5], decodeA6: Decoder[A6], decodeA7: Decoder[A7], decodeA8: Decoder[A8], decodeA9: Decoder[A9], decodeA10: Decoder[A10], decodeA11: Decoder[A11], decodeA12: Decoder[A12], decodeA13: Decoder[A13], decodeA14: Decoder[A14], decodeA15: Decoder[A15], decodeA16: Decoder[A16], decodeA17: Decoder[A17]): Decoder[(A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17)]

    Definition Classes
    TupleDecoders
  49. implicit final def decodeTuple19[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18](implicit decodeA0: Decoder[A0], decodeA1: Decoder[A1], decodeA2: Decoder[A2], decodeA3: Decoder[A3], decodeA4: Decoder[A4], decodeA5: Decoder[A5], decodeA6: Decoder[A6], decodeA7: Decoder[A7], decodeA8: Decoder[A8], decodeA9: Decoder[A9], decodeA10: Decoder[A10], decodeA11: Decoder[A11], decodeA12: Decoder[A12], decodeA13: Decoder[A13], decodeA14: Decoder[A14], decodeA15: Decoder[A15], decodeA16: Decoder[A16], decodeA17: Decoder[A17], decodeA18: Decoder[A18]): Decoder[(A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18)]

    Definition Classes
    TupleDecoders
  50. implicit final def decodeTuple2[A0, A1](implicit decodeA0: Decoder[A0], decodeA1: Decoder[A1]): Decoder[(A0, A1)]

    Definition Classes
    TupleDecoders
  51. implicit final def decodeTuple20[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19](implicit decodeA0: Decoder[A0], decodeA1: Decoder[A1], decodeA2: Decoder[A2], decodeA3: Decoder[A3], decodeA4: Decoder[A4], decodeA5: Decoder[A5], decodeA6: Decoder[A6], decodeA7: Decoder[A7], decodeA8: Decoder[A8], decodeA9: Decoder[A9], decodeA10: Decoder[A10], decodeA11: Decoder[A11], decodeA12: Decoder[A12], decodeA13: Decoder[A13], decodeA14: Decoder[A14], decodeA15: Decoder[A15], decodeA16: Decoder[A16], decodeA17: Decoder[A17], decodeA18: Decoder[A18], decodeA19: Decoder[A19]): Decoder[(A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19)]

    Definition Classes
    TupleDecoders
  52. implicit final def decodeTuple21[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20](implicit decodeA0: Decoder[A0], decodeA1: Decoder[A1], decodeA2: Decoder[A2], decodeA3: Decoder[A3], decodeA4: Decoder[A4], decodeA5: Decoder[A5], decodeA6: Decoder[A6], decodeA7: Decoder[A7], decodeA8: Decoder[A8], decodeA9: Decoder[A9], decodeA10: Decoder[A10], decodeA11: Decoder[A11], decodeA12: Decoder[A12], decodeA13: Decoder[A13], decodeA14: Decoder[A14], decodeA15: Decoder[A15], decodeA16: Decoder[A16], decodeA17: Decoder[A17], decodeA18: Decoder[A18], decodeA19: Decoder[A19], decodeA20: Decoder[A20]): Decoder[(A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20)]

    Definition Classes
    TupleDecoders
  53. implicit final def decodeTuple22[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21](implicit decodeA0: Decoder[A0], decodeA1: Decoder[A1], decodeA2: Decoder[A2], decodeA3: Decoder[A3], decodeA4: Decoder[A4], decodeA5: Decoder[A5], decodeA6: Decoder[A6], decodeA7: Decoder[A7], decodeA8: Decoder[A8], decodeA9: Decoder[A9], decodeA10: Decoder[A10], decodeA11: Decoder[A11], decodeA12: Decoder[A12], decodeA13: Decoder[A13], decodeA14: Decoder[A14], decodeA15: Decoder[A15], decodeA16: Decoder[A16], decodeA17: Decoder[A17], decodeA18: Decoder[A18], decodeA19: Decoder[A19], decodeA20: Decoder[A20], decodeA21: Decoder[A21]): Decoder[(A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21)]

    Definition Classes
    TupleDecoders
  54. implicit final def decodeTuple3[A0, A1, A2](implicit decodeA0: Decoder[A0], decodeA1: Decoder[A1], decodeA2: Decoder[A2]): Decoder[(A0, A1, A2)]

    Definition Classes
    TupleDecoders
  55. implicit final def decodeTuple4[A0, A1, A2, A3](implicit decodeA0: Decoder[A0], decodeA1: Decoder[A1], decodeA2: Decoder[A2], decodeA3: Decoder[A3]): Decoder[(A0, A1, A2, A3)]

    Definition Classes
    TupleDecoders
  56. implicit final def decodeTuple5[A0, A1, A2, A3, A4](implicit decodeA0: Decoder[A0], decodeA1: Decoder[A1], decodeA2: Decoder[A2], decodeA3: Decoder[A3], decodeA4: Decoder[A4]): Decoder[(A0, A1, A2, A3, A4)]

    Definition Classes
    TupleDecoders
  57. implicit final def decodeTuple6[A0, A1, A2, A3, A4, A5](implicit decodeA0: Decoder[A0], decodeA1: Decoder[A1], decodeA2: Decoder[A2], decodeA3: Decoder[A3], decodeA4: Decoder[A4], decodeA5: Decoder[A5]): Decoder[(A0, A1, A2, A3, A4, A5)]

    Definition Classes
    TupleDecoders
  58. implicit final def decodeTuple7[A0, A1, A2, A3, A4, A5, A6](implicit decodeA0: Decoder[A0], decodeA1: Decoder[A1], decodeA2: Decoder[A2], decodeA3: Decoder[A3], decodeA4: Decoder[A4], decodeA5: Decoder[A5], decodeA6: Decoder[A6]): Decoder[(A0, A1, A2, A3, A4, A5, A6)]

    Definition Classes
    TupleDecoders
  59. implicit final def decodeTuple8[A0, A1, A2, A3, A4, A5, A6, A7](implicit decodeA0: Decoder[A0], decodeA1: Decoder[A1], decodeA2: Decoder[A2], decodeA3: Decoder[A3], decodeA4: Decoder[A4], decodeA5: Decoder[A5], decodeA6: Decoder[A6], decodeA7: Decoder[A7]): Decoder[(A0, A1, A2, A3, A4, A5, A6, A7)]

    Definition Classes
    TupleDecoders
  60. implicit final def decodeTuple9[A0, A1, A2, A3, A4, A5, A6, A7, A8](implicit decodeA0: Decoder[A0], decodeA1: Decoder[A1], decodeA2: Decoder[A2], decodeA3: Decoder[A3], decodeA4: Decoder[A4], decodeA5: Decoder[A5], decodeA6: Decoder[A6], decodeA7: Decoder[A7], decodeA8: Decoder[A8]): Decoder[(A0, A1, A2, A3, A4, A5, A6, A7, A8)]

    Definition Classes
    TupleDecoders
  61. implicit final val decodeUUID: Decoder[UUID]

  62. implicit final val decodeUnit: Decoder[Unit]

  63. final def decodeValidated[E, A](failureKey: String, successKey: String)(implicit de: Decoder[E], da: Decoder[A]): Decoder[Validated[E, A]]

  64. implicit final def decodeVector[A](implicit decodeA: Decoder[A]): Decoder[Vector[A]]

  65. implicit final val decoderInstances: SemigroupK[Decoder] with MonadError[Decoder, DecodingFailure]

  66. final def enumDecoder[E <: Enumeration](enum: E): Decoder[Decoder.enumDecoder.E.Value]

    object WeekDay extends Enumeration { ... }
    implicit val weekDayDecoder = Decoder.enumDecoder(WeekDay)
  67. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  68. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  69. final def failed[A](failure: DecodingFailure): Decoder[A]

    Construct an instance that always fails with the given DecodingFailure.

  70. final def failedWithMessage[A](message: String): Decoder[A]

    Construct an instance that always fails with the given error message.

  71. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  72. final def forProduct1[A0, Target](nameA0: String)(f: (A0) ⇒ Target)(implicit decodeA0: Decoder[A0]): Decoder[Target]

    Definition Classes
    ProductDecoders
  73. final def forProduct10[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, Target](nameA0: String, nameA1: String, nameA2: String, nameA3: String, nameA4: String, nameA5: String, nameA6: String, nameA7: String, nameA8: String, nameA9: String)(f: (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9) ⇒ Target)(implicit decodeA0: Decoder[A0], decodeA1: Decoder[A1], decodeA2: Decoder[A2], decodeA3: Decoder[A3], decodeA4: Decoder[A4], decodeA5: Decoder[A5], decodeA6: Decoder[A6], decodeA7: Decoder[A7], decodeA8: Decoder[A8], decodeA9: Decoder[A9]): Decoder[Target]

    Definition Classes
    ProductDecoders
  74. final def forProduct11[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, Target](nameA0: String, nameA1: String, nameA2: String, nameA3: String, nameA4: String, nameA5: String, nameA6: String, nameA7: String, nameA8: String, nameA9: String, nameA10: String)(f: (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10) ⇒ Target)(implicit decodeA0: Decoder[A0], decodeA1: Decoder[A1], decodeA2: Decoder[A2], decodeA3: Decoder[A3], decodeA4: Decoder[A4], decodeA5: Decoder[A5], decodeA6: Decoder[A6], decodeA7: Decoder[A7], decodeA8: Decoder[A8], decodeA9: Decoder[A9], decodeA10: Decoder[A10]): Decoder[Target]

    Definition Classes
    ProductDecoders
  75. final def forProduct12[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, Target](nameA0: String, nameA1: String, nameA2: String, nameA3: String, nameA4: String, nameA5: String, nameA6: String, nameA7: String, nameA8: String, nameA9: String, nameA10: String, nameA11: String)(f: (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11) ⇒ Target)(implicit decodeA0: Decoder[A0], decodeA1: Decoder[A1], decodeA2: Decoder[A2], decodeA3: Decoder[A3], decodeA4: Decoder[A4], decodeA5: Decoder[A5], decodeA6: Decoder[A6], decodeA7: Decoder[A7], decodeA8: Decoder[A8], decodeA9: Decoder[A9], decodeA10: Decoder[A10], decodeA11: Decoder[A11]): Decoder[Target]

    Definition Classes
    ProductDecoders
  76. final def forProduct13[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, Target](nameA0: String, nameA1: String, nameA2: String, nameA3: String, nameA4: String, nameA5: String, nameA6: String, nameA7: String, nameA8: String, nameA9: String, nameA10: String, nameA11: String, nameA12: String)(f: (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12) ⇒ Target)(implicit decodeA0: Decoder[A0], decodeA1: Decoder[A1], decodeA2: Decoder[A2], decodeA3: Decoder[A3], decodeA4: Decoder[A4], decodeA5: Decoder[A5], decodeA6: Decoder[A6], decodeA7: Decoder[A7], decodeA8: Decoder[A8], decodeA9: Decoder[A9], decodeA10: Decoder[A10], decodeA11: Decoder[A11], decodeA12: Decoder[A12]): Decoder[Target]

    Definition Classes
    ProductDecoders
  77. final def forProduct14[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, Target](nameA0: String, nameA1: String, nameA2: String, nameA3: String, nameA4: String, nameA5: String, nameA6: String, nameA7: String, nameA8: String, nameA9: String, nameA10: String, nameA11: String, nameA12: String, nameA13: String)(f: (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13) ⇒ Target)(implicit decodeA0: Decoder[A0], decodeA1: Decoder[A1], decodeA2: Decoder[A2], decodeA3: Decoder[A3], decodeA4: Decoder[A4], decodeA5: Decoder[A5], decodeA6: Decoder[A6], decodeA7: Decoder[A7], decodeA8: Decoder[A8], decodeA9: Decoder[A9], decodeA10: Decoder[A10], decodeA11: Decoder[A11], decodeA12: Decoder[A12], decodeA13: Decoder[A13]): Decoder[Target]

    Definition Classes
    ProductDecoders
  78. final def forProduct15[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, Target](nameA0: String, nameA1: String, nameA2: String, nameA3: String, nameA4: String, nameA5: String, nameA6: String, nameA7: String, nameA8: String, nameA9: String, nameA10: String, nameA11: String, nameA12: String, nameA13: String, nameA14: String)(f: (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14) ⇒ Target)(implicit decodeA0: Decoder[A0], decodeA1: Decoder[A1], decodeA2: Decoder[A2], decodeA3: Decoder[A3], decodeA4: Decoder[A4], decodeA5: Decoder[A5], decodeA6: Decoder[A6], decodeA7: Decoder[A7], decodeA8: Decoder[A8], decodeA9: Decoder[A9], decodeA10: Decoder[A10], decodeA11: Decoder[A11], decodeA12: Decoder[A12], decodeA13: Decoder[A13], decodeA14: Decoder[A14]): Decoder[Target]

    Definition Classes
    ProductDecoders
  79. final def forProduct16[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, Target](nameA0: String, nameA1: String, nameA2: String, nameA3: String, nameA4: String, nameA5: String, nameA6: String, nameA7: String, nameA8: String, nameA9: String, nameA10: String, nameA11: String, nameA12: String, nameA13: String, nameA14: String, nameA15: String)(f: (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15) ⇒ Target)(implicit decodeA0: Decoder[A0], decodeA1: Decoder[A1], decodeA2: Decoder[A2], decodeA3: Decoder[A3], decodeA4: Decoder[A4], decodeA5: Decoder[A5], decodeA6: Decoder[A6], decodeA7: Decoder[A7], decodeA8: Decoder[A8], decodeA9: Decoder[A9], decodeA10: Decoder[A10], decodeA11: Decoder[A11], decodeA12: Decoder[A12], decodeA13: Decoder[A13], decodeA14: Decoder[A14], decodeA15: Decoder[A15]): Decoder[Target]

    Definition Classes
    ProductDecoders
  80. final def forProduct17[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, Target](nameA0: String, nameA1: String, nameA2: String, nameA3: String, nameA4: String, nameA5: String, nameA6: String, nameA7: String, nameA8: String, nameA9: String, nameA10: String, nameA11: String, nameA12: String, nameA13: String, nameA14: String, nameA15: String, nameA16: String)(f: (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16) ⇒ Target)(implicit decodeA0: Decoder[A0], decodeA1: Decoder[A1], decodeA2: Decoder[A2], decodeA3: Decoder[A3], decodeA4: Decoder[A4], decodeA5: Decoder[A5], decodeA6: Decoder[A6], decodeA7: Decoder[A7], decodeA8: Decoder[A8], decodeA9: Decoder[A9], decodeA10: Decoder[A10], decodeA11: Decoder[A11], decodeA12: Decoder[A12], decodeA13: Decoder[A13], decodeA14: Decoder[A14], decodeA15: Decoder[A15], decodeA16: Decoder[A16]): Decoder[Target]

    Definition Classes
    ProductDecoders
  81. final def forProduct18[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, Target](nameA0: String, nameA1: String, nameA2: String, nameA3: String, nameA4: String, nameA5: String, nameA6: String, nameA7: String, nameA8: String, nameA9: String, nameA10: String, nameA11: String, nameA12: String, nameA13: String, nameA14: String, nameA15: String, nameA16: String, nameA17: String)(f: (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17) ⇒ Target)(implicit decodeA0: Decoder[A0], decodeA1: Decoder[A1], decodeA2: Decoder[A2], decodeA3: Decoder[A3], decodeA4: Decoder[A4], decodeA5: Decoder[A5], decodeA6: Decoder[A6], decodeA7: Decoder[A7], decodeA8: Decoder[A8], decodeA9: Decoder[A9], decodeA10: Decoder[A10], decodeA11: Decoder[A11], decodeA12: Decoder[A12], decodeA13: Decoder[A13], decodeA14: Decoder[A14], decodeA15: Decoder[A15], decodeA16: Decoder[A16], decodeA17: Decoder[A17]): Decoder[Target]

    Definition Classes
    ProductDecoders
  82. final def forProduct19[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, Target](nameA0: String, nameA1: String, nameA2: String, nameA3: String, nameA4: String, nameA5: String, nameA6: String, nameA7: String, nameA8: String, nameA9: String, nameA10: String, nameA11: String, nameA12: String, nameA13: String, nameA14: String, nameA15: String, nameA16: String, nameA17: String, nameA18: String)(f: (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18) ⇒ Target)(implicit decodeA0: Decoder[A0], decodeA1: Decoder[A1], decodeA2: Decoder[A2], decodeA3: Decoder[A3], decodeA4: Decoder[A4], decodeA5: Decoder[A5], decodeA6: Decoder[A6], decodeA7: Decoder[A7], decodeA8: Decoder[A8], decodeA9: Decoder[A9], decodeA10: Decoder[A10], decodeA11: Decoder[A11], decodeA12: Decoder[A12], decodeA13: Decoder[A13], decodeA14: Decoder[A14], decodeA15: Decoder[A15], decodeA16: Decoder[A16], decodeA17: Decoder[A17], decodeA18: Decoder[A18]): Decoder[Target]

    Definition Classes
    ProductDecoders
  83. final def forProduct2[A0, A1, Target](nameA0: String, nameA1: String)(f: (A0, A1) ⇒ Target)(implicit decodeA0: Decoder[A0], decodeA1: Decoder[A1]): Decoder[Target]

    Definition Classes
    ProductDecoders
  84. final def forProduct20[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, Target](nameA0: String, nameA1: String, nameA2: String, nameA3: String, nameA4: String, nameA5: String, nameA6: String, nameA7: String, nameA8: String, nameA9: String, nameA10: String, nameA11: String, nameA12: String, nameA13: String, nameA14: String, nameA15: String, nameA16: String, nameA17: String, nameA18: String, nameA19: String)(f: (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19) ⇒ Target)(implicit decodeA0: Decoder[A0], decodeA1: Decoder[A1], decodeA2: Decoder[A2], decodeA3: Decoder[A3], decodeA4: Decoder[A4], decodeA5: Decoder[A5], decodeA6: Decoder[A6], decodeA7: Decoder[A7], decodeA8: Decoder[A8], decodeA9: Decoder[A9], decodeA10: Decoder[A10], decodeA11: Decoder[A11], decodeA12: Decoder[A12], decodeA13: Decoder[A13], decodeA14: Decoder[A14], decodeA15: Decoder[A15], decodeA16: Decoder[A16], decodeA17: Decoder[A17], decodeA18: Decoder[A18], decodeA19: Decoder[A19]): Decoder[Target]

    Definition Classes
    ProductDecoders
  85. final def forProduct21[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, Target](nameA0: String, nameA1: String, nameA2: String, nameA3: String, nameA4: String, nameA5: String, nameA6: String, nameA7: String, nameA8: String, nameA9: String, nameA10: String, nameA11: String, nameA12: String, nameA13: String, nameA14: String, nameA15: String, nameA16: String, nameA17: String, nameA18: String, nameA19: String, nameA20: String)(f: (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20) ⇒ Target)(implicit decodeA0: Decoder[A0], decodeA1: Decoder[A1], decodeA2: Decoder[A2], decodeA3: Decoder[A3], decodeA4: Decoder[A4], decodeA5: Decoder[A5], decodeA6: Decoder[A6], decodeA7: Decoder[A7], decodeA8: Decoder[A8], decodeA9: Decoder[A9], decodeA10: Decoder[A10], decodeA11: Decoder[A11], decodeA12: Decoder[A12], decodeA13: Decoder[A13], decodeA14: Decoder[A14], decodeA15: Decoder[A15], decodeA16: Decoder[A16], decodeA17: Decoder[A17], decodeA18: Decoder[A18], decodeA19: Decoder[A19], decodeA20: Decoder[A20]): Decoder[Target]

    Definition Classes
    ProductDecoders
  86. final def forProduct22[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, Target](nameA0: String, nameA1: String, nameA2: String, nameA3: String, nameA4: String, nameA5: String, nameA6: String, nameA7: String, nameA8: String, nameA9: String, nameA10: String, nameA11: String, nameA12: String, nameA13: String, nameA14: String, nameA15: String, nameA16: String, nameA17: String, nameA18: String, nameA19: String, nameA20: String, nameA21: String)(f: (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21) ⇒ Target)(implicit decodeA0: Decoder[A0], decodeA1: Decoder[A1], decodeA2: Decoder[A2], decodeA3: Decoder[A3], decodeA4: Decoder[A4], decodeA5: Decoder[A5], decodeA6: Decoder[A6], decodeA7: Decoder[A7], decodeA8: Decoder[A8], decodeA9: Decoder[A9], decodeA10: Decoder[A10], decodeA11: Decoder[A11], decodeA12: Decoder[A12], decodeA13: Decoder[A13], decodeA14: Decoder[A14], decodeA15: Decoder[A15], decodeA16: Decoder[A16], decodeA17: Decoder[A17], decodeA18: Decoder[A18], decodeA19: Decoder[A19], decodeA20: Decoder[A20], decodeA21: Decoder[A21]): Decoder[Target]

    Definition Classes
    ProductDecoders
  87. final def forProduct3[A0, A1, A2, Target](nameA0: String, nameA1: String, nameA2: String)(f: (A0, A1, A2) ⇒ Target)(implicit decodeA0: Decoder[A0], decodeA1: Decoder[A1], decodeA2: Decoder[A2]): Decoder[Target]

    Definition Classes
    ProductDecoders
  88. final def forProduct4[A0, A1, A2, A3, Target](nameA0: String, nameA1: String, nameA2: String, nameA3: String)(f: (A0, A1, A2, A3) ⇒ Target)(implicit decodeA0: Decoder[A0], decodeA1: Decoder[A1], decodeA2: Decoder[A2], decodeA3: Decoder[A3]): Decoder[Target]

    Definition Classes
    ProductDecoders
  89. final def forProduct5[A0, A1, A2, A3, A4, Target](nameA0: String, nameA1: String, nameA2: String, nameA3: String, nameA4: String)(f: (A0, A1, A2, A3, A4) ⇒ Target)(implicit decodeA0: Decoder[A0], decodeA1: Decoder[A1], decodeA2: Decoder[A2], decodeA3: Decoder[A3], decodeA4: Decoder[A4]): Decoder[Target]

    Definition Classes
    ProductDecoders
  90. final def forProduct6[A0, A1, A2, A3, A4, A5, Target](nameA0: String, nameA1: String, nameA2: String, nameA3: String, nameA4: String, nameA5: String)(f: (A0, A1, A2, A3, A4, A5) ⇒ Target)(implicit decodeA0: Decoder[A0], decodeA1: Decoder[A1], decodeA2: Decoder[A2], decodeA3: Decoder[A3], decodeA4: Decoder[A4], decodeA5: Decoder[A5]): Decoder[Target]

    Definition Classes
    ProductDecoders
  91. final def forProduct7[A0, A1, A2, A3, A4, A5, A6, Target](nameA0: String, nameA1: String, nameA2: String, nameA3: String, nameA4: String, nameA5: String, nameA6: String)(f: (A0, A1, A2, A3, A4, A5, A6) ⇒ Target)(implicit decodeA0: Decoder[A0], decodeA1: Decoder[A1], decodeA2: Decoder[A2], decodeA3: Decoder[A3], decodeA4: Decoder[A4], decodeA5: Decoder[A5], decodeA6: Decoder[A6]): Decoder[Target]

    Definition Classes
    ProductDecoders
  92. final def forProduct8[A0, A1, A2, A3, A4, A5, A6, A7, Target](nameA0: String, nameA1: String, nameA2: String, nameA3: String, nameA4: String, nameA5: String, nameA6: String, nameA7: String)(f: (A0, A1, A2, A3, A4, A5, A6, A7) ⇒ Target)(implicit decodeA0: Decoder[A0], decodeA1: Decoder[A1], decodeA2: Decoder[A2], decodeA3: Decoder[A3], decodeA4: Decoder[A4], decodeA5: Decoder[A5], decodeA6: Decoder[A6], decodeA7: Decoder[A7]): Decoder[Target]

    Definition Classes
    ProductDecoders
  93. final def forProduct9[A0, A1, A2, A3, A4, A5, A6, A7, A8, Target](nameA0: String, nameA1: String, nameA2: String, nameA3: String, nameA4: String, nameA5: String, nameA6: String, nameA7: String, nameA8: String)(f: (A0, A1, A2, A3, A4, A5, A6, A7, A8) ⇒ Target)(implicit decodeA0: Decoder[A0], decodeA1: Decoder[A1], decodeA2: Decoder[A2], decodeA3: Decoder[A3], decodeA4: Decoder[A4], decodeA5: Decoder[A5], decodeA6: Decoder[A6], decodeA7: Decoder[A7], decodeA8: Decoder[A8]): Decoder[Target]

    Definition Classes
    ProductDecoders
  94. def fromState[A](s: StateT[Result, ACursor, A]): Decoder[A]

    Construct an instance from a cats.data.StateT value.

  95. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  96. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  97. implicit def importedDecoder[A](implicit exported: Exported[Decoder[A]]): Decoder[A]

    Definition Classes
    LowPriorityDecoders
  98. final def instance[A](f: (HCursor) ⇒ Result[A]): Decoder[A]

    Construct an instance from a function.

  99. final def instanceTry[A](f: (HCursor) ⇒ Try[A]): Decoder[A]

    This is for easier interop with code that already returns scala.util.Try.

    This is for easier interop with code that already returns scala.util.Try. You should prefer instance for any new code.

  100. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  101. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  102. final def notify(): Unit

    Definition Classes
    AnyRef
  103. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  104. final val resultInstance: MonadError[Result, DecodingFailure]

  105. object state

    Helper methods for working with cats.data.StateT values that transform the ACursor.

  106. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  107. def toString(): String

    Definition Classes
    AnyRef → Any
  108. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  109. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  110. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  111. final def withReattempt[A](f: (ACursor) ⇒ Result[A]): Decoder[A]

    Construct an instance from a function that may reattempt on failure.

Inherited from Serializable

Inherited from Serializable

Inherited from LowPriorityDecoders

Inherited from ProductDecoders

Inherited from TupleDecoders

Inherited from AnyRef

Inherited from Any

Type aliases

Defining decoders

General decoder instances

Collection instances

Disjunction instances

Instance creation methods for disjunction-like types. Note that these instances are not implicit, since they require non-obvious decisions about the names of the discriminators. If you want instances for these types you can include the following import in your program:

import io.circe.disjunctionCodecs._

Type class instances

Tuple instances

Case class and other product instances

Instance prioritization

Ungrouped