Packages

trait EnumerationSnakeCodec extends AnyRef

This is mainly copied from Circe's io.circe.generic.extras.encoding.EnumerationEncoder and io.circe.generic.extras.decoding.EnumerationDecoder, but since they're not configurable to use snake_case for the named values, this version applies the io.circe.generic.extras.Configuration.snakeCaseTransformation function to the names during encoding and decoding.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EnumerationSnakeCodec
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. abstract class EnumerationSnakeDecoder[A] extends Decoder[A]
  2. abstract class EnumerationSnakeEncoder[A] extends Encoder[A]

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. implicit def decodeEnumeration[A, Repr <: Coproduct](implicit gen: Aux[A, Repr], rr: EnumerationSnakeDecoder[Repr]): EnumerationSnakeDecoder[A]
  7. implicit def decodeEnumerationCCons[K <: Symbol, V, R <: Coproduct](implicit wit: Aux[K], gv: Aux[V, HNil], dr: EnumerationSnakeDecoder[R]): EnumerationSnakeDecoder[:+:[FieldType[K, V], R]]
  8. implicit val decodeEnumerationCNil: EnumerationSnakeDecoder[CNil]
  9. def deriveEnumerationSnakeDecoder[A](implicit decode: Lazy[EnumerationSnakeDecoder[A]]): Decoder[A]
  10. def deriveEnumerationSnakeEncoder[A](implicit encode: Lazy[EnumerationSnakeEncoder[A]]): Encoder[A]
  11. implicit def encodeEnumeration[A, Repr <: Coproduct](implicit gen: Aux[A, Repr], rr: EnumerationSnakeEncoder[Repr]): EnumerationSnakeEncoder[A]
  12. implicit def encodeEnumerationCCons[K <: Symbol, V, R <: Coproduct](implicit wit: Aux[K], gv: Aux[V, HNil], dr: EnumerationSnakeEncoder[R]): EnumerationSnakeEncoder[:+:[FieldType[K, V], R]]
  13. implicit val encodeEnumerationCNil: EnumerationSnakeEncoder[CNil]
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped