io.circe

Encoder

object Encoder extends TupleEncoders with ProductEncoders with MidPriorityEncoders with Serializable

Utilities and instances for Encoder.

Linear Supertypes
Serializable, Serializable, MidPriorityEncoders, LowPriorityEncoders, ProductEncoders, TupleEncoders, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Encoder
  2. Serializable
  3. Serializable
  4. MidPriorityEncoders
  5. LowPriorityEncoders
  6. ProductEncoders
  7. TupleEncoders
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. abstract class IterableArrayEncoder[A, C[_]] extends ArrayEncoder[C[A]]

    Attributes
    protected[this]
    Definition Classes
    MidPriorityEncoders

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: Encoder[A]): Encoder[A]

    Return an instance for a given type A.

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. implicit final val encodeBigDecimal: Encoder[BigDecimal]

  10. implicit final val encodeBigInt: Encoder[BigInt]

  11. implicit final val encodeBoolean: Encoder[Boolean]

  12. implicit final val encodeByte: Encoder[Byte]

  13. implicit final val encodeChar: Encoder[Char]

  14. implicit final val encodeDouble: Encoder[Double]

  15. final def encodeEither[A, B](leftKey: String, rightKey: String)(implicit ea: Encoder[A], eb: Encoder[B]): ObjectEncoder[Either[A, B]]

  16. implicit final val encodeFloat: Encoder[Float]

    Note that on Scala.

    Note that on Scala.js the encoding of Float values is subject to the usual limitations of Float#toString on that platform (e.g. 1.1f will be encoded as a Json value that will be printed as "1.100000023841858").

  17. final def encodeFoldable[F[_], A](implicit e: Encoder[A], F: Foldable[F]): ArrayEncoder[F[A]]

    Construct an instance for a given type with a cats.Foldable instance.

  18. implicit final val encodeInt: Encoder[Int]

  19. implicit final def encodeIterable[A, C[_]](implicit encodeA: Encoder[A], ev: (C[A]) ⇒ Iterable[A]): ArrayEncoder[C[A]]

    Definition Classes
    MidPriorityEncoders
  20. implicit final val encodeJson: Encoder[Json]

  21. implicit final val encodeJsonNumber: Encoder[JsonNumber]

  22. implicit final val encodeJsonObject: ObjectEncoder[JsonObject]

  23. implicit final def encodeList[A](implicit encodeA: Encoder[A]): ArrayEncoder[List[A]]

  24. implicit final val encodeLong: Encoder[Long]

  25. implicit final def encodeMap[K, V](implicit encodeK: KeyEncoder[K], encodeV: Encoder[V]): ObjectEncoder[Map[K, V]]

  26. implicit final def encodeMapLike[K, V, M[K, V] <: Map[K, V]](implicit encodeK: KeyEncoder[K], encodeV: Encoder[V], ev: (M[K, V]) ⇒ Iterable[(K, V)]): ObjectEncoder[M[K, V]]

  27. implicit final def encodeNonEmptyList[A](implicit encodeA: Encoder[A]): ArrayEncoder[NonEmptyList[A]]

  28. implicit final def encodeNonEmptyVector[A](implicit encodeA: Encoder[A]): ArrayEncoder[NonEmptyVector[A]]

  29. implicit final val encodeNone: Encoder[None.type]

  30. implicit final def encodeOneAnd[A, C[_]](implicit encodeA: Encoder[A], ev: (C[A]) ⇒ Iterable[A]): ArrayEncoder[OneAnd[C, A]]

  31. implicit final def encodeOption[A](implicit e: Encoder[A]): Encoder[Option[A]]

  32. implicit final def encodeSeq[A](implicit encodeA: Encoder[A]): ArrayEncoder[Seq[A]]

  33. implicit final def encodeSet[A](implicit encodeA: Encoder[A]): ArrayEncoder[Set[A]]

  34. implicit final val encodeShort: Encoder[Short]

  35. implicit final def encodeSome[A](implicit e: Encoder[A]): Encoder[Some[A]]

  36. implicit final val encodeString: Encoder[String]

  37. implicit final def encodeTuple1[A0](implicit encodeA0: Encoder[A0]): ArrayEncoder[(A0)]

    Definition Classes
    TupleEncoders
  38. implicit final def encodeTuple10[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9](implicit encodeA0: Encoder[A0], encodeA1: Encoder[A1], encodeA2: Encoder[A2], encodeA3: Encoder[A3], encodeA4: Encoder[A4], encodeA5: Encoder[A5], encodeA6: Encoder[A6], encodeA7: Encoder[A7], encodeA8: Encoder[A8], encodeA9: Encoder[A9]): ArrayEncoder[(A0, A1, A2, A3, A4, A5, A6, A7, A8, A9)]

    Definition Classes
    TupleEncoders
  39. implicit final def encodeTuple11[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10](implicit encodeA0: Encoder[A0], encodeA1: Encoder[A1], encodeA2: Encoder[A2], encodeA3: Encoder[A3], encodeA4: Encoder[A4], encodeA5: Encoder[A5], encodeA6: Encoder[A6], encodeA7: Encoder[A7], encodeA8: Encoder[A8], encodeA9: Encoder[A9], encodeA10: Encoder[A10]): ArrayEncoder[(A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10)]

    Definition Classes
    TupleEncoders
  40. implicit final def encodeTuple12[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11](implicit encodeA0: Encoder[A0], encodeA1: Encoder[A1], encodeA2: Encoder[A2], encodeA3: Encoder[A3], encodeA4: Encoder[A4], encodeA5: Encoder[A5], encodeA6: Encoder[A6], encodeA7: Encoder[A7], encodeA8: Encoder[A8], encodeA9: Encoder[A9], encodeA10: Encoder[A10], encodeA11: Encoder[A11]): ArrayEncoder[(A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11)]

    Definition Classes
    TupleEncoders
  41. implicit final def encodeTuple13[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12](implicit encodeA0: Encoder[A0], encodeA1: Encoder[A1], encodeA2: Encoder[A2], encodeA3: Encoder[A3], encodeA4: Encoder[A4], encodeA5: Encoder[A5], encodeA6: Encoder[A6], encodeA7: Encoder[A7], encodeA8: Encoder[A8], encodeA9: Encoder[A9], encodeA10: Encoder[A10], encodeA11: Encoder[A11], encodeA12: Encoder[A12]): ArrayEncoder[(A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12)]

    Definition Classes
    TupleEncoders
  42. implicit final def encodeTuple14[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13](implicit encodeA0: Encoder[A0], encodeA1: Encoder[A1], encodeA2: Encoder[A2], encodeA3: Encoder[A3], encodeA4: Encoder[A4], encodeA5: Encoder[A5], encodeA6: Encoder[A6], encodeA7: Encoder[A7], encodeA8: Encoder[A8], encodeA9: Encoder[A9], encodeA10: Encoder[A10], encodeA11: Encoder[A11], encodeA12: Encoder[A12], encodeA13: Encoder[A13]): ArrayEncoder[(A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13)]

    Definition Classes
    TupleEncoders
  43. implicit final def encodeTuple15[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14](implicit encodeA0: Encoder[A0], encodeA1: Encoder[A1], encodeA2: Encoder[A2], encodeA3: Encoder[A3], encodeA4: Encoder[A4], encodeA5: Encoder[A5], encodeA6: Encoder[A6], encodeA7: Encoder[A7], encodeA8: Encoder[A8], encodeA9: Encoder[A9], encodeA10: Encoder[A10], encodeA11: Encoder[A11], encodeA12: Encoder[A12], encodeA13: Encoder[A13], encodeA14: Encoder[A14]): ArrayEncoder[(A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14)]

    Definition Classes
    TupleEncoders
  44. implicit final def encodeTuple16[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15](implicit encodeA0: Encoder[A0], encodeA1: Encoder[A1], encodeA2: Encoder[A2], encodeA3: Encoder[A3], encodeA4: Encoder[A4], encodeA5: Encoder[A5], encodeA6: Encoder[A6], encodeA7: Encoder[A7], encodeA8: Encoder[A8], encodeA9: Encoder[A9], encodeA10: Encoder[A10], encodeA11: Encoder[A11], encodeA12: Encoder[A12], encodeA13: Encoder[A13], encodeA14: Encoder[A14], encodeA15: Encoder[A15]): ArrayEncoder[(A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15)]

    Definition Classes
    TupleEncoders
  45. implicit final def encodeTuple17[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16](implicit encodeA0: Encoder[A0], encodeA1: Encoder[A1], encodeA2: Encoder[A2], encodeA3: Encoder[A3], encodeA4: Encoder[A4], encodeA5: Encoder[A5], encodeA6: Encoder[A6], encodeA7: Encoder[A7], encodeA8: Encoder[A8], encodeA9: Encoder[A9], encodeA10: Encoder[A10], encodeA11: Encoder[A11], encodeA12: Encoder[A12], encodeA13: Encoder[A13], encodeA14: Encoder[A14], encodeA15: Encoder[A15], encodeA16: Encoder[A16]): ArrayEncoder[(A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16)]

    Definition Classes
    TupleEncoders
  46. implicit final def encodeTuple18[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17](implicit encodeA0: Encoder[A0], encodeA1: Encoder[A1], encodeA2: Encoder[A2], encodeA3: Encoder[A3], encodeA4: Encoder[A4], encodeA5: Encoder[A5], encodeA6: Encoder[A6], encodeA7: Encoder[A7], encodeA8: Encoder[A8], encodeA9: Encoder[A9], encodeA10: Encoder[A10], encodeA11: Encoder[A11], encodeA12: Encoder[A12], encodeA13: Encoder[A13], encodeA14: Encoder[A14], encodeA15: Encoder[A15], encodeA16: Encoder[A16], encodeA17: Encoder[A17]): ArrayEncoder[(A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17)]

    Definition Classes
    TupleEncoders
  47. implicit final def encodeTuple19[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18](implicit encodeA0: Encoder[A0], encodeA1: Encoder[A1], encodeA2: Encoder[A2], encodeA3: Encoder[A3], encodeA4: Encoder[A4], encodeA5: Encoder[A5], encodeA6: Encoder[A6], encodeA7: Encoder[A7], encodeA8: Encoder[A8], encodeA9: Encoder[A9], encodeA10: Encoder[A10], encodeA11: Encoder[A11], encodeA12: Encoder[A12], encodeA13: Encoder[A13], encodeA14: Encoder[A14], encodeA15: Encoder[A15], encodeA16: Encoder[A16], encodeA17: Encoder[A17], encodeA18: Encoder[A18]): ArrayEncoder[(A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18)]

    Definition Classes
    TupleEncoders
  48. implicit final def encodeTuple2[A0, A1](implicit encodeA0: Encoder[A0], encodeA1: Encoder[A1]): ArrayEncoder[(A0, A1)]

    Definition Classes
    TupleEncoders
  49. implicit final def encodeTuple20[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19](implicit encodeA0: Encoder[A0], encodeA1: Encoder[A1], encodeA2: Encoder[A2], encodeA3: Encoder[A3], encodeA4: Encoder[A4], encodeA5: Encoder[A5], encodeA6: Encoder[A6], encodeA7: Encoder[A7], encodeA8: Encoder[A8], encodeA9: Encoder[A9], encodeA10: Encoder[A10], encodeA11: Encoder[A11], encodeA12: Encoder[A12], encodeA13: Encoder[A13], encodeA14: Encoder[A14], encodeA15: Encoder[A15], encodeA16: Encoder[A16], encodeA17: Encoder[A17], encodeA18: Encoder[A18], encodeA19: Encoder[A19]): ArrayEncoder[(A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19)]

    Definition Classes
    TupleEncoders
  50. implicit final def encodeTuple21[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20](implicit encodeA0: Encoder[A0], encodeA1: Encoder[A1], encodeA2: Encoder[A2], encodeA3: Encoder[A3], encodeA4: Encoder[A4], encodeA5: Encoder[A5], encodeA6: Encoder[A6], encodeA7: Encoder[A7], encodeA8: Encoder[A8], encodeA9: Encoder[A9], encodeA10: Encoder[A10], encodeA11: Encoder[A11], encodeA12: Encoder[A12], encodeA13: Encoder[A13], encodeA14: Encoder[A14], encodeA15: Encoder[A15], encodeA16: Encoder[A16], encodeA17: Encoder[A17], encodeA18: Encoder[A18], encodeA19: Encoder[A19], encodeA20: Encoder[A20]): ArrayEncoder[(A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20)]

    Definition Classes
    TupleEncoders
  51. implicit final def encodeTuple22[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21](implicit encodeA0: Encoder[A0], encodeA1: Encoder[A1], encodeA2: Encoder[A2], encodeA3: Encoder[A3], encodeA4: Encoder[A4], encodeA5: Encoder[A5], encodeA6: Encoder[A6], encodeA7: Encoder[A7], encodeA8: Encoder[A8], encodeA9: Encoder[A9], encodeA10: Encoder[A10], encodeA11: Encoder[A11], encodeA12: Encoder[A12], encodeA13: Encoder[A13], encodeA14: Encoder[A14], encodeA15: Encoder[A15], encodeA16: Encoder[A16], encodeA17: Encoder[A17], encodeA18: Encoder[A18], encodeA19: Encoder[A19], encodeA20: Encoder[A20], encodeA21: Encoder[A21]): ArrayEncoder[(A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21)]

    Definition Classes
    TupleEncoders
  52. implicit final def encodeTuple3[A0, A1, A2](implicit encodeA0: Encoder[A0], encodeA1: Encoder[A1], encodeA2: Encoder[A2]): ArrayEncoder[(A0, A1, A2)]

    Definition Classes
    TupleEncoders
  53. implicit final def encodeTuple4[A0, A1, A2, A3](implicit encodeA0: Encoder[A0], encodeA1: Encoder[A1], encodeA2: Encoder[A2], encodeA3: Encoder[A3]): ArrayEncoder[(A0, A1, A2, A3)]

    Definition Classes
    TupleEncoders
  54. implicit final def encodeTuple5[A0, A1, A2, A3, A4](implicit encodeA0: Encoder[A0], encodeA1: Encoder[A1], encodeA2: Encoder[A2], encodeA3: Encoder[A3], encodeA4: Encoder[A4]): ArrayEncoder[(A0, A1, A2, A3, A4)]

    Definition Classes
    TupleEncoders
  55. implicit final def encodeTuple6[A0, A1, A2, A3, A4, A5](implicit encodeA0: Encoder[A0], encodeA1: Encoder[A1], encodeA2: Encoder[A2], encodeA3: Encoder[A3], encodeA4: Encoder[A4], encodeA5: Encoder[A5]): ArrayEncoder[(A0, A1, A2, A3, A4, A5)]

    Definition Classes
    TupleEncoders
  56. implicit final def encodeTuple7[A0, A1, A2, A3, A4, A5, A6](implicit encodeA0: Encoder[A0], encodeA1: Encoder[A1], encodeA2: Encoder[A2], encodeA3: Encoder[A3], encodeA4: Encoder[A4], encodeA5: Encoder[A5], encodeA6: Encoder[A6]): ArrayEncoder[(A0, A1, A2, A3, A4, A5, A6)]

    Definition Classes
    TupleEncoders
  57. implicit final def encodeTuple8[A0, A1, A2, A3, A4, A5, A6, A7](implicit encodeA0: Encoder[A0], encodeA1: Encoder[A1], encodeA2: Encoder[A2], encodeA3: Encoder[A3], encodeA4: Encoder[A4], encodeA5: Encoder[A5], encodeA6: Encoder[A6], encodeA7: Encoder[A7]): ArrayEncoder[(A0, A1, A2, A3, A4, A5, A6, A7)]

    Definition Classes
    TupleEncoders
  58. implicit final def encodeTuple9[A0, A1, A2, A3, A4, A5, A6, A7, A8](implicit encodeA0: Encoder[A0], encodeA1: Encoder[A1], encodeA2: Encoder[A2], encodeA3: Encoder[A3], encodeA4: Encoder[A4], encodeA5: Encoder[A5], encodeA6: Encoder[A6], encodeA7: Encoder[A7], encodeA8: Encoder[A8]): ArrayEncoder[(A0, A1, A2, A3, A4, A5, A6, A7, A8)]

    Definition Classes
    TupleEncoders
  59. implicit final val encodeUUID: Encoder[UUID]

  60. implicit final val encodeUnit: ObjectEncoder[Unit]

  61. final def encodeValidated[E, A](failureKey: String, successKey: String)(implicit ee: Encoder[E], ea: Encoder[A]): ObjectEncoder[Validated[E, A]]

  62. implicit final def encodeVector[A](implicit encodeA: Encoder[A]): ArrayEncoder[Vector[A]]

  63. implicit final val encoderContravariant: Contravariant[Encoder]

  64. final def enumEncoder[E <: Enumeration](enum: E): Encoder[Encoder.enumEncoder.E.Value]

    object WeekDay extends Enumeration { ... }
    implicit val weekDayEncoder = Encoder.enumEncoder(WeekDay)
  65. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  67. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  68. final def forProduct1[A0, Source](nameA0: String)(f: (Source) ⇒ A0)(implicit encodeA0: Encoder[A0]): ObjectEncoder[Source]

    Definition Classes
    ProductEncoders
  69. final def forProduct10[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, Source](nameA0: String, nameA1: String, nameA2: String, nameA3: String, nameA4: String, nameA5: String, nameA6: String, nameA7: String, nameA8: String, nameA9: String)(f: (Source) ⇒ Product10[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9])(implicit encodeA0: Encoder[A0], encodeA1: Encoder[A1], encodeA2: Encoder[A2], encodeA3: Encoder[A3], encodeA4: Encoder[A4], encodeA5: Encoder[A5], encodeA6: Encoder[A6], encodeA7: Encoder[A7], encodeA8: Encoder[A8], encodeA9: Encoder[A9]): ObjectEncoder[Source]

    Definition Classes
    ProductEncoders
  70. final def forProduct11[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, Source](nameA0: String, nameA1: String, nameA2: String, nameA3: String, nameA4: String, nameA5: String, nameA6: String, nameA7: String, nameA8: String, nameA9: String, nameA10: String)(f: (Source) ⇒ Product11[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10])(implicit encodeA0: Encoder[A0], encodeA1: Encoder[A1], encodeA2: Encoder[A2], encodeA3: Encoder[A3], encodeA4: Encoder[A4], encodeA5: Encoder[A5], encodeA6: Encoder[A6], encodeA7: Encoder[A7], encodeA8: Encoder[A8], encodeA9: Encoder[A9], encodeA10: Encoder[A10]): ObjectEncoder[Source]

    Definition Classes
    ProductEncoders
  71. final def forProduct12[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, Source](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: (Source) ⇒ Product12[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11])(implicit encodeA0: Encoder[A0], encodeA1: Encoder[A1], encodeA2: Encoder[A2], encodeA3: Encoder[A3], encodeA4: Encoder[A4], encodeA5: Encoder[A5], encodeA6: Encoder[A6], encodeA7: Encoder[A7], encodeA8: Encoder[A8], encodeA9: Encoder[A9], encodeA10: Encoder[A10], encodeA11: Encoder[A11]): ObjectEncoder[Source]

    Definition Classes
    ProductEncoders
  72. final def forProduct13[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, Source](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: (Source) ⇒ Product13[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12])(implicit encodeA0: Encoder[A0], encodeA1: Encoder[A1], encodeA2: Encoder[A2], encodeA3: Encoder[A3], encodeA4: Encoder[A4], encodeA5: Encoder[A5], encodeA6: Encoder[A6], encodeA7: Encoder[A7], encodeA8: Encoder[A8], encodeA9: Encoder[A9], encodeA10: Encoder[A10], encodeA11: Encoder[A11], encodeA12: Encoder[A12]): ObjectEncoder[Source]

    Definition Classes
    ProductEncoders
  73. final def forProduct14[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, Source](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: (Source) ⇒ Product14[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13])(implicit encodeA0: Encoder[A0], encodeA1: Encoder[A1], encodeA2: Encoder[A2], encodeA3: Encoder[A3], encodeA4: Encoder[A4], encodeA5: Encoder[A5], encodeA6: Encoder[A6], encodeA7: Encoder[A7], encodeA8: Encoder[A8], encodeA9: Encoder[A9], encodeA10: Encoder[A10], encodeA11: Encoder[A11], encodeA12: Encoder[A12], encodeA13: Encoder[A13]): ObjectEncoder[Source]

    Definition Classes
    ProductEncoders
  74. final def forProduct15[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, Source](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: (Source) ⇒ Product15[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14])(implicit encodeA0: Encoder[A0], encodeA1: Encoder[A1], encodeA2: Encoder[A2], encodeA3: Encoder[A3], encodeA4: Encoder[A4], encodeA5: Encoder[A5], encodeA6: Encoder[A6], encodeA7: Encoder[A7], encodeA8: Encoder[A8], encodeA9: Encoder[A9], encodeA10: Encoder[A10], encodeA11: Encoder[A11], encodeA12: Encoder[A12], encodeA13: Encoder[A13], encodeA14: Encoder[A14]): ObjectEncoder[Source]

    Definition Classes
    ProductEncoders
  75. final def forProduct16[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, Source](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: (Source) ⇒ Product16[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15])(implicit encodeA0: Encoder[A0], encodeA1: Encoder[A1], encodeA2: Encoder[A2], encodeA3: Encoder[A3], encodeA4: Encoder[A4], encodeA5: Encoder[A5], encodeA6: Encoder[A6], encodeA7: Encoder[A7], encodeA8: Encoder[A8], encodeA9: Encoder[A9], encodeA10: Encoder[A10], encodeA11: Encoder[A11], encodeA12: Encoder[A12], encodeA13: Encoder[A13], encodeA14: Encoder[A14], encodeA15: Encoder[A15]): ObjectEncoder[Source]

    Definition Classes
    ProductEncoders
  76. final def forProduct17[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, Source](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: (Source) ⇒ Product17[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16])(implicit encodeA0: Encoder[A0], encodeA1: Encoder[A1], encodeA2: Encoder[A2], encodeA3: Encoder[A3], encodeA4: Encoder[A4], encodeA5: Encoder[A5], encodeA6: Encoder[A6], encodeA7: Encoder[A7], encodeA8: Encoder[A8], encodeA9: Encoder[A9], encodeA10: Encoder[A10], encodeA11: Encoder[A11], encodeA12: Encoder[A12], encodeA13: Encoder[A13], encodeA14: Encoder[A14], encodeA15: Encoder[A15], encodeA16: Encoder[A16]): ObjectEncoder[Source]

    Definition Classes
    ProductEncoders
  77. final def forProduct18[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, Source](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: (Source) ⇒ Product18[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17])(implicit encodeA0: Encoder[A0], encodeA1: Encoder[A1], encodeA2: Encoder[A2], encodeA3: Encoder[A3], encodeA4: Encoder[A4], encodeA5: Encoder[A5], encodeA6: Encoder[A6], encodeA7: Encoder[A7], encodeA8: Encoder[A8], encodeA9: Encoder[A9], encodeA10: Encoder[A10], encodeA11: Encoder[A11], encodeA12: Encoder[A12], encodeA13: Encoder[A13], encodeA14: Encoder[A14], encodeA15: Encoder[A15], encodeA16: Encoder[A16], encodeA17: Encoder[A17]): ObjectEncoder[Source]

    Definition Classes
    ProductEncoders
  78. final def forProduct19[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, Source](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: (Source) ⇒ Product19[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18])(implicit encodeA0: Encoder[A0], encodeA1: Encoder[A1], encodeA2: Encoder[A2], encodeA3: Encoder[A3], encodeA4: Encoder[A4], encodeA5: Encoder[A5], encodeA6: Encoder[A6], encodeA7: Encoder[A7], encodeA8: Encoder[A8], encodeA9: Encoder[A9], encodeA10: Encoder[A10], encodeA11: Encoder[A11], encodeA12: Encoder[A12], encodeA13: Encoder[A13], encodeA14: Encoder[A14], encodeA15: Encoder[A15], encodeA16: Encoder[A16], encodeA17: Encoder[A17], encodeA18: Encoder[A18]): ObjectEncoder[Source]

    Definition Classes
    ProductEncoders
  79. final def forProduct2[A0, A1, Source](nameA0: String, nameA1: String)(f: (Source) ⇒ Product2[A0, A1])(implicit encodeA0: Encoder[A0], encodeA1: Encoder[A1]): ObjectEncoder[Source]

    Definition Classes
    ProductEncoders
  80. final def forProduct20[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, Source](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: (Source) ⇒ Product20[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19])(implicit encodeA0: Encoder[A0], encodeA1: Encoder[A1], encodeA2: Encoder[A2], encodeA3: Encoder[A3], encodeA4: Encoder[A4], encodeA5: Encoder[A5], encodeA6: Encoder[A6], encodeA7: Encoder[A7], encodeA8: Encoder[A8], encodeA9: Encoder[A9], encodeA10: Encoder[A10], encodeA11: Encoder[A11], encodeA12: Encoder[A12], encodeA13: Encoder[A13], encodeA14: Encoder[A14], encodeA15: Encoder[A15], encodeA16: Encoder[A16], encodeA17: Encoder[A17], encodeA18: Encoder[A18], encodeA19: Encoder[A19]): ObjectEncoder[Source]

    Definition Classes
    ProductEncoders
  81. final def forProduct21[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, Source](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: (Source) ⇒ Product21[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20])(implicit encodeA0: Encoder[A0], encodeA1: Encoder[A1], encodeA2: Encoder[A2], encodeA3: Encoder[A3], encodeA4: Encoder[A4], encodeA5: Encoder[A5], encodeA6: Encoder[A6], encodeA7: Encoder[A7], encodeA8: Encoder[A8], encodeA9: Encoder[A9], encodeA10: Encoder[A10], encodeA11: Encoder[A11], encodeA12: Encoder[A12], encodeA13: Encoder[A13], encodeA14: Encoder[A14], encodeA15: Encoder[A15], encodeA16: Encoder[A16], encodeA17: Encoder[A17], encodeA18: Encoder[A18], encodeA19: Encoder[A19], encodeA20: Encoder[A20]): ObjectEncoder[Source]

    Definition Classes
    ProductEncoders
  82. 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, Source](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: (Source) ⇒ Product22[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21])(implicit encodeA0: Encoder[A0], encodeA1: Encoder[A1], encodeA2: Encoder[A2], encodeA3: Encoder[A3], encodeA4: Encoder[A4], encodeA5: Encoder[A5], encodeA6: Encoder[A6], encodeA7: Encoder[A7], encodeA8: Encoder[A8], encodeA9: Encoder[A9], encodeA10: Encoder[A10], encodeA11: Encoder[A11], encodeA12: Encoder[A12], encodeA13: Encoder[A13], encodeA14: Encoder[A14], encodeA15: Encoder[A15], encodeA16: Encoder[A16], encodeA17: Encoder[A17], encodeA18: Encoder[A18], encodeA19: Encoder[A19], encodeA20: Encoder[A20], encodeA21: Encoder[A21]): ObjectEncoder[Source]

    Definition Classes
    ProductEncoders
  83. final def forProduct3[A0, A1, A2, Source](nameA0: String, nameA1: String, nameA2: String)(f: (Source) ⇒ Product3[A0, A1, A2])(implicit encodeA0: Encoder[A0], encodeA1: Encoder[A1], encodeA2: Encoder[A2]): ObjectEncoder[Source]

    Definition Classes
    ProductEncoders
  84. final def forProduct4[A0, A1, A2, A3, Source](nameA0: String, nameA1: String, nameA2: String, nameA3: String)(f: (Source) ⇒ Product4[A0, A1, A2, A3])(implicit encodeA0: Encoder[A0], encodeA1: Encoder[A1], encodeA2: Encoder[A2], encodeA3: Encoder[A3]): ObjectEncoder[Source]

    Definition Classes
    ProductEncoders
  85. final def forProduct5[A0, A1, A2, A3, A4, Source](nameA0: String, nameA1: String, nameA2: String, nameA3: String, nameA4: String)(f: (Source) ⇒ Product5[A0, A1, A2, A3, A4])(implicit encodeA0: Encoder[A0], encodeA1: Encoder[A1], encodeA2: Encoder[A2], encodeA3: Encoder[A3], encodeA4: Encoder[A4]): ObjectEncoder[Source]

    Definition Classes
    ProductEncoders
  86. final def forProduct6[A0, A1, A2, A3, A4, A5, Source](nameA0: String, nameA1: String, nameA2: String, nameA3: String, nameA4: String, nameA5: String)(f: (Source) ⇒ Product6[A0, A1, A2, A3, A4, A5])(implicit encodeA0: Encoder[A0], encodeA1: Encoder[A1], encodeA2: Encoder[A2], encodeA3: Encoder[A3], encodeA4: Encoder[A4], encodeA5: Encoder[A5]): ObjectEncoder[Source]

    Definition Classes
    ProductEncoders
  87. final def forProduct7[A0, A1, A2, A3, A4, A5, A6, Source](nameA0: String, nameA1: String, nameA2: String, nameA3: String, nameA4: String, nameA5: String, nameA6: String)(f: (Source) ⇒ Product7[A0, A1, A2, A3, A4, A5, A6])(implicit encodeA0: Encoder[A0], encodeA1: Encoder[A1], encodeA2: Encoder[A2], encodeA3: Encoder[A3], encodeA4: Encoder[A4], encodeA5: Encoder[A5], encodeA6: Encoder[A6]): ObjectEncoder[Source]

    Definition Classes
    ProductEncoders
  88. final def forProduct8[A0, A1, A2, A3, A4, A5, A6, A7, Source](nameA0: String, nameA1: String, nameA2: String, nameA3: String, nameA4: String, nameA5: String, nameA6: String, nameA7: String)(f: (Source) ⇒ Product8[A0, A1, A2, A3, A4, A5, A6, A7])(implicit encodeA0: Encoder[A0], encodeA1: Encoder[A1], encodeA2: Encoder[A2], encodeA3: Encoder[A3], encodeA4: Encoder[A4], encodeA5: Encoder[A5], encodeA6: Encoder[A6], encodeA7: Encoder[A7]): ObjectEncoder[Source]

    Definition Classes
    ProductEncoders
  89. final def forProduct9[A0, A1, A2, A3, A4, A5, A6, A7, A8, Source](nameA0: String, nameA1: String, nameA2: String, nameA3: String, nameA4: String, nameA5: String, nameA6: String, nameA7: String, nameA8: String)(f: (Source) ⇒ Product9[A0, A1, A2, A3, A4, A5, A6, A7, A8])(implicit encodeA0: Encoder[A0], encodeA1: Encoder[A1], encodeA2: Encoder[A2], encodeA3: Encoder[A3], encodeA4: Encoder[A4], encodeA5: Encoder[A5], encodeA6: Encoder[A6], encodeA7: Encoder[A7], encodeA8: Encoder[A8]): ObjectEncoder[Source]

    Definition Classes
    ProductEncoders
  90. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  92. implicit final def importedEncoder[A](implicit exported: Exported[ObjectEncoder[A]]): Encoder[A]

    Definition Classes
    LowPriorityEncoders
  93. final def instance[A](f: (A) ⇒ Json): Encoder[A]

    Construct an instance from a function.

  94. final def isInstanceOf[T0]: Boolean

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

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

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

    Definition Classes
    AnyRef
  98. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  99. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from MidPriorityEncoders

Inherited from LowPriorityEncoders

Inherited from ProductEncoders

Inherited from TupleEncoders

Inherited from AnyRef

Inherited from Any

Defining encoders

General encoder 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