Decoder

io.circe.Decoder$
See theDecoder companion trait
object Decoder

Utilities and instances for Decoder.

Attributes

Companion:
trait
Source:
Decoder.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Decoder.type

Members list

Concise view

Type members

Classlikes

final class OptionDecoder[A](implicit A: Decoder[A]) extends Decoder[Option[A]]

A decoder for Option[A].

A decoder for Option[A].

This is modeled as a separate, named, subtype because Option decoders often have special semantics around the handling of JNull. By having this as a named subtype, we premit certain optimizations that would otherwise not be possible. See circe-generic-extras for some examples.

Attributes

Source:
Decoder.scala
Graph
Supertypes
trait Decoder[Option[A]]
class Object
trait Matchable
class Any
object state

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

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

Attributes

Source:
Decoder.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
state.type

Types

Attributes

Source:
Decoder.scala
final type Result[A] = Either[DecodingFailure, A]

Attributes

Source:
Decoder.scala

Value members

Concrete methods

final def apply[A](implicit instance: Decoder[A]): Decoder[A]

Return an instance for a given type.

Return an instance for a given type.

Attributes

Source:
Decoder.scala
final def const[A](a: A): Decoder[A]

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

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

Attributes

Source:
Decoder.scala
final def decodeEither[A, B](leftKey: String, rightKey: String)(implicit decodeA: Decoder[A], decodeB: Decoder[B]): Decoder[Either[A, B]]

Attributes

Source:
Decoder.scala
final def decodeValidated[E, A](failureKey: String, successKey: String)(implicit decodeE: Decoder[E], decodeA: Decoder[A]): Decoder[Validated[E, A]]

Attributes

Source:
Decoder.scala

Attributes

Source:
Decoder.scala
final def failed[A](failure: DecodingFailure): Decoder[A]

Construct an instance that always fails with the given DecodingFailure.

Construct an instance that always fails with the given DecodingFailure.

Attributes

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

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

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

Attributes

Source:
Decoder.scala
def fromState[A](s: StateT[Result, ACursor, A]): Decoder[A]

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

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

Attributes

Source:
Decoder.scala
final def instance[A](f: HCursor => Result[A]): Decoder[A]

Construct an instance from a function.

Construct an instance from a function.

Attributes

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

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

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

Attributes

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

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

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

Attributes

Source:
Decoder.scala

Inherited methods

final inline def derived[A](using inline A: Of[A]): Decoder[A]

Attributes

Inherited from:
DecoderDerivation (hidden)
Source:
Derivation.scala
final inline def derivedConfigured[A](using inline A: Of[A], inline configuration: Configuration): Decoder[A]

Attributes

Inherited from:
DecoderDerivation (hidden)
Source:
Derivation.scala
final def forProduct1[Target, A0](nameA0: String)(f: A0 => Target)(implicit decodeA0: Decoder[A0]): Decoder[Target]

Attributes

Inherited from:
ProductDecoders (hidden)
Source:
ProductDecoders.scala
final def forProduct10[Target, A0, A1, A2, A3, A4, A5, A6, A7, A8, A9](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]

Attributes

Inherited from:
ProductDecoders (hidden)
Source:
ProductDecoders.scala
final def forProduct11[Target, A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10](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]

Attributes

Inherited from:
ProductDecoders (hidden)
Source:
ProductDecoders.scala
final def forProduct12[Target, A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11](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]

Attributes

Inherited from:
ProductDecoders (hidden)
Source:
ProductDecoders.scala
final def forProduct13[Target, A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12](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]

Attributes

Inherited from:
ProductDecoders (hidden)
Source:
ProductDecoders.scala
final def forProduct14[Target, A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13](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]

Attributes

Inherited from:
ProductDecoders (hidden)
Source:
ProductDecoders.scala
final def forProduct15[Target, A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14](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]

Attributes

Inherited from:
ProductDecoders (hidden)
Source:
ProductDecoders.scala
final def forProduct16[Target, A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15](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]

Attributes

Inherited from:
ProductDecoders (hidden)
Source:
ProductDecoders.scala
final def forProduct17[Target, A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16](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]

Attributes

Inherited from:
ProductDecoders (hidden)
Source:
ProductDecoders.scala
final def forProduct18[Target, A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17](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]

Attributes

Inherited from:
ProductDecoders (hidden)
Source:
ProductDecoders.scala
final def forProduct19[Target, A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18](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]

Attributes

Inherited from:
ProductDecoders (hidden)
Source:
ProductDecoders.scala
final def forProduct2[Target, A0, A1](nameA0: String, nameA1: String)(f: (A0, A1) => Target)(implicit decodeA0: Decoder[A0], decodeA1: Decoder[A1]): Decoder[Target]

Attributes

Inherited from:
ProductDecoders (hidden)
Source:
ProductDecoders.scala
final def forProduct20[Target, A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19](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]

Attributes

Inherited from:
ProductDecoders (hidden)
Source:
ProductDecoders.scala
final def forProduct21[Target, A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20](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]

Attributes

Inherited from:
ProductDecoders (hidden)
Source:
ProductDecoders.scala
final def forProduct22[Target, A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21](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]

Attributes

Inherited from:
ProductDecoders (hidden)
Source:
ProductDecoders.scala
final def forProduct3[Target, A0, A1, A2](nameA0: String, nameA1: String, nameA2: String)(f: (A0, A1, A2) => Target)(implicit decodeA0: Decoder[A0], decodeA1: Decoder[A1], decodeA2: Decoder[A2]): Decoder[Target]

Attributes

Inherited from:
ProductDecoders (hidden)
Source:
ProductDecoders.scala
final def forProduct4[Target, A0, A1, A2, A3](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]

Attributes

Inherited from:
ProductDecoders (hidden)
Source:
ProductDecoders.scala
final def forProduct5[Target, A0, A1, A2, A3, A4](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]

Attributes

Inherited from:
ProductDecoders (hidden)
Source:
ProductDecoders.scala
final def forProduct6[Target, A0, A1, A2, A3, A4, A5](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]

Attributes

Inherited from:
ProductDecoders (hidden)
Source:
ProductDecoders.scala
final def forProduct7[Target, A0, A1, A2, A3, A4, A5, A6](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]

Attributes

Inherited from:
ProductDecoders (hidden)
Source:
ProductDecoders.scala
final def forProduct8[Target, A0, A1, A2, A3, A4, A5, A6, A7](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]

Attributes

Inherited from:
ProductDecoders (hidden)
Source:
ProductDecoders.scala
final def forProduct9[Target, A0, A1, A2, A3, A4, A5, A6, A7, A8](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]

Attributes

Inherited from:
ProductDecoders (hidden)
Source:
ProductDecoders.scala

Implicits

Implicits

final implicit lazy val currencyDecoder: Decoder[Currency]

Attributes

Source:
Decoder.scala
final implicit 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.

Attributes

Source:
Decoder.scala
final implicit 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.

Attributes

Source:
Decoder.scala
final implicit val decodeBoolean: Decoder[Boolean]

Attributes

Source:
Decoder.scala
final implicit 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.

Attributes

Source:
Decoder.scala
final implicit def decodeChain[A](implicit decodeA: Decoder[A]): Decoder[Chain[A]]

Attributes

Source:
Decoder.scala
final implicit val decodeChar: Decoder[Char]

Attributes

Source:
Decoder.scala
final implicit 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.

Attributes

Source:
Decoder.scala
final implicit lazy val decodeDuration: Decoder[Duration]

Attributes

Source:
Decoder.scala
final implicit 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.

Attributes

Source:
Decoder.scala
final implicit val decodeHCursor: Decoder[HCursor]

Attributes

Source:
Decoder.scala
final implicit lazy val decodeInstant: Decoder[Instant]

Attributes

Source:
Decoder.scala
final implicit 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.

Attributes

Source:
Decoder.scala
final implicit lazy val decodeJavaBigDecimal: Decoder[BigDecimal]

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

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

Attributes

Source:
Decoder.scala
final implicit lazy val decodeJavaBigInteger: Decoder[BigInteger]

Decode a JSON value into a java.math.BigInteger.

Decode a JSON value into a java.math.BigInteger.

Attributes

Source:
Decoder.scala
final implicit lazy val decodeJavaBoolean: Decoder[Boolean]

Decode a JSON value into a java.lang.Boolean.

Decode a JSON value into a java.lang.Boolean.

Attributes

Source:
Decoder.scala
final implicit lazy val decodeJavaByte: Decoder[Byte]

Decode a JSON value into a java.lang.Byte.

Decode a JSON value into a java.lang.Byte.

Attributes

Source:
Decoder.scala
final implicit lazy val decodeJavaCharacter: Decoder[Character]

Decode a JSON value into a java.lang.Character.

Decode a JSON value into a java.lang.Character.

Attributes

Source:
Decoder.scala
final implicit lazy val decodeJavaDouble: Decoder[Double]

Decode a JSON value into a java.lang.Double.

Decode a JSON value into a java.lang.Double.

Attributes

Source:
Decoder.scala
final implicit lazy val decodeJavaFloat: Decoder[Float]

Decode a JSON value into a java.lang.Float.

Decode a JSON value into a java.lang.Float.

Attributes

Source:
Decoder.scala
final implicit lazy val decodeJavaInteger: Decoder[Integer]

Decode a JSON value into a java.lang.Integer.

Decode a JSON value into a java.lang.Integer.

Attributes

Source:
Decoder.scala
final implicit lazy val decodeJavaLong: Decoder[Long]

Decode a JSON value into a java.lang.Long.

Decode a JSON value into a java.lang.Long.

Attributes

Source:
Decoder.scala
final implicit lazy val decodeJavaShort: Decoder[Short]

Decode a JSON value into a java.lang.Short.

Decode a JSON value into a java.lang.Short.

Attributes

Source:
Decoder.scala
final implicit val decodeJson: Decoder[Json]

Attributes

Source:
Decoder.scala
final implicit val decodeJsonNumber: Decoder[JsonNumber]

Attributes

Source:
Decoder.scala
final implicit val decodeJsonObject: Decoder[JsonObject]

Attributes

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

Attributes

Source:
Decoder.scala
final implicit lazy val decodeLocalDate: Decoder[LocalDate]

Attributes

Source:
Decoder.scala
final implicit lazy val decodeLocalDateTime: Decoder[LocalDateTime]

Attributes

Source:
Decoder.scala
final implicit lazy val decodeLocalTime: Decoder[LocalTime]

Attributes

Source:
Decoder.scala
final implicit 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.

Attributes

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

Attributes

Source:
Decoder.scala
final implicit lazy val decodeMonthDay: Decoder[MonthDay]

Attributes

Source:
Decoder.scala
final implicit def decodeNonEmptyChain[A](implicit decodeA: Decoder[A]): Decoder[Type[A]]

Attributes

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

Attributes

Source:
Decoder.scala
final implicit def decodeNonEmptyMap[K, V](implicit decodeK: KeyDecoder[K], orderK: Order[K], decodeV: Decoder[V]): Decoder[Type[K, V]]

Attributes

Source:
Decoder.scala
final implicit def decodeNonEmptySet[A](implicit decodeA: Decoder[A], orderA: Order[A]): Decoder[Type[A]]

Attributes

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

Attributes

Source:
Decoder.scala
final implicit val decodeNone: Decoder[None.type]

Attributes

Source:
Decoder.scala
final implicit lazy val decodeOffsetDateTime: Decoder[OffsetDateTime]

Attributes

Source:
Decoder.scala
final implicit lazy val decodeOffsetTime: Decoder[OffsetTime]

Attributes

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

Attributes

Source:
Decoder.scala
final implicit lazy val decodePeriod: Decoder[Period]

Attributes

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

Attributes

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

Attributes

Source:
Decoder.scala
final implicit 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.

Attributes

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

Attributes

Source:
Decoder.scala
final implicit val decodeString: Decoder[String]

Attributes

Source:
Decoder.scala
final implicit lazy val decodeURI: Decoder[URI]

Attributes

Source:
Decoder.scala
final implicit lazy val decodeUUID: Decoder[UUID]

Attributes

Source:
Decoder.scala
final implicit val decodeUnit: Decoder[Unit]

Attributes

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

Attributes

Source:
Decoder.scala
final implicit lazy val decodeYear: Decoder[Year]

Attributes

Source:
Decoder.scala
final implicit lazy val decodeYearMonth: Decoder[YearMonth]

Attributes

Source:
Decoder.scala
final implicit lazy val decodeZoneId: Decoder[ZoneId]

Attributes

Source:
Decoder.scala
final implicit lazy val decodeZoneOffset: Decoder[ZoneOffset]

Attributes

Source:
Decoder.scala
final implicit lazy val decodeZonedDateTime: Decoder[ZonedDateTime]

Attributes

Source:
Decoder.scala

Inherited implicits

final implicit def decodeArray[A](implicit decodeA: Decoder[A], factory: Factory[A, Array[A]]): Decoder[Array[A]]

Attributes

Inherited from:
CollectionDecoders (hidden)
Source:
CollectionDecoders.scala
final implicit def decodeArraySeq[A](implicit decodeA: Decoder[A], classTag: ClassTag[A]): Decoder[ArraySeq[A]]

Attributes

Inherited from:
CollectionDecoders (hidden)
Source:
CollectionDecoders.scala
final implicit def decodeIterable[A, C <: (Iterable)](implicit decodeA: Decoder[A], factory: Factory[A, C[A]]): Decoder[C[A]]

Attributes

Note:

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

Inherited from:
CollectionDecoders (hidden)
Source:
CollectionDecoders.scala
final implicit def decodeLiteralBoolean[L <: Boolean](implicit L: ValueOf[L]): Decoder[L]

Decode a Boolean whose value is known at compile time.

Decode a Boolean whose value is known at compile time.

Attributes

Inherited from:
LiteralDecoders (hidden)
Source:
LiteralDecoders.scala
final implicit def decodeLiteralChar[L <: Char](implicit L: ValueOf[L]): Decoder[L]

Decode a Char whose value is known at compile time.

Decode a Char whose value is known at compile time.

Attributes

Inherited from:
LiteralDecoders (hidden)
Source:
LiteralDecoders.scala
final implicit def decodeLiteralDouble[L <: Double](implicit L: ValueOf[L]): Decoder[L]

Decode a Double whose value is known at compile time.

Decode a Double whose value is known at compile time.

Attributes

Inherited from:
LiteralDecoders (hidden)
Source:
LiteralDecoders.scala
final implicit def decodeLiteralFloat[L <: Float](implicit L: ValueOf[L]): Decoder[L]

Decode a Float whose value is known at compile time.

Decode a Float whose value is known at compile time.

Attributes

Inherited from:
LiteralDecoders (hidden)
Source:
LiteralDecoders.scala
final implicit def decodeLiteralInt[L <: Int](implicit L: ValueOf[L]): Decoder[L]

Decode a Int whose value is known at compile time.

Decode a Int whose value is known at compile time.

Attributes

Inherited from:
LiteralDecoders (hidden)
Source:
LiteralDecoders.scala
final implicit def decodeLiteralLong[L <: Long](implicit L: ValueOf[L]): Decoder[L]

Decode a Long whose value is known at compile time.

Decode a Long whose value is known at compile time.

Attributes

Inherited from:
LiteralDecoders (hidden)
Source:
LiteralDecoders.scala
final implicit def decodeLiteralString[L <: String](implicit L: ValueOf[L]): Decoder[L]

Decode a String whose value is known at compile time.

Decode a String whose value is known at compile time.

Attributes

Inherited from:
LiteralDecoders (hidden)
Source:
LiteralDecoders.scala
final implicit def decodeMapLike[K, V, M <: (Map)](implicit decodeK: KeyDecoder[K], decodeV: Decoder[V], factory: Factory[(K, V), M[K, V]]): Decoder[M[K, V]]

Attributes

Note:

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

Inherited from:
CollectionDecoders (hidden)
Source:
CollectionDecoders.scala
final implicit def decodeOneAnd[A, C[_]](implicit decodeA: Decoder[A], factory: Factory[A, C[A]]): Decoder[OneAnd[C, A]]

Attributes

Note:

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

Inherited from:
CollectionDecoders (hidden)
Source:
CollectionDecoders.scala
final implicit def decodeTuple1[A0](implicit decodeA0: Decoder[A0]): Decoder[(A0)]

Attributes

Inherited from:
TupleDecoders (hidden)
Source:
TupleDecoders.scala
final implicit 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)]

Attributes

Inherited from:
TupleDecoders (hidden)
Source:
TupleDecoders.scala
final implicit 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)]

Attributes

Inherited from:
TupleDecoders (hidden)
Source:
TupleDecoders.scala
final implicit 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)]

Attributes

Inherited from:
TupleDecoders (hidden)
Source:
TupleDecoders.scala
final implicit 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)]

Attributes

Inherited from:
TupleDecoders (hidden)
Source:
TupleDecoders.scala
final implicit 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)]

Attributes

Inherited from:
TupleDecoders (hidden)
Source:
TupleDecoders.scala
final implicit 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)]

Attributes

Inherited from:
TupleDecoders (hidden)
Source:
TupleDecoders.scala
final implicit 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)]

Attributes

Inherited from:
TupleDecoders (hidden)
Source:
TupleDecoders.scala
final implicit 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)]

Attributes

Inherited from:
TupleDecoders (hidden)
Source:
TupleDecoders.scala
final implicit 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)]

Attributes

Inherited from:
TupleDecoders (hidden)
Source:
TupleDecoders.scala
final implicit 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)]

Attributes

Inherited from:
TupleDecoders (hidden)
Source:
TupleDecoders.scala
final implicit def decodeTuple2[A0, A1](implicit decodeA0: Decoder[A0], decodeA1: Decoder[A1]): Decoder[(A0, A1)]

Attributes

Inherited from:
TupleDecoders (hidden)
Source:
TupleDecoders.scala
final implicit 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)]

Attributes

Inherited from:
TupleDecoders (hidden)
Source:
TupleDecoders.scala
final implicit 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)]

Attributes

Inherited from:
TupleDecoders (hidden)
Source:
TupleDecoders.scala
final implicit 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)]

Attributes

Inherited from:
TupleDecoders (hidden)
Source:
TupleDecoders.scala
final implicit def decodeTuple3[A0, A1, A2](implicit decodeA0: Decoder[A0], decodeA1: Decoder[A1], decodeA2: Decoder[A2]): Decoder[(A0, A1, A2)]

Attributes

Inherited from:
TupleDecoders (hidden)
Source:
TupleDecoders.scala
final implicit def decodeTuple4[A0, A1, A2, A3](implicit decodeA0: Decoder[A0], decodeA1: Decoder[A1], decodeA2: Decoder[A2], decodeA3: Decoder[A3]): Decoder[(A0, A1, A2, A3)]

Attributes

Inherited from:
TupleDecoders (hidden)
Source:
TupleDecoders.scala
final implicit 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)]

Attributes

Inherited from:
TupleDecoders (hidden)
Source:
TupleDecoders.scala
final implicit 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)]

Attributes

Inherited from:
TupleDecoders (hidden)
Source:
TupleDecoders.scala
final implicit 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)]

Attributes

Inherited from:
TupleDecoders (hidden)
Source:
TupleDecoders.scala
final implicit 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)]

Attributes

Inherited from:
TupleDecoders (hidden)
Source:
TupleDecoders.scala
final implicit 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)]

Attributes

Inherited from:
TupleDecoders (hidden)
Source:
TupleDecoders.scala
final implicit def decodeUntaggedArraySeq[A](implicit decodeA: Decoder[A]): Decoder[ArraySeq[A]]

Attributes

Inherited from:
LowPriorityCollectionDecoders (hidden)
Source:
CollectionDecoders.scala
implicit def importedDecoder[A](implicit exported: Exported[Decoder[A]]): Decoder[A]

Attributes

Inherited from:
LowPriorityDecoders (hidden)
Source:
Decoder.scala