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
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- EnumerationSnakeCodec
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- abstract class EnumerationSnakeDecoder[A] extends Decoder[A]
- abstract class EnumerationSnakeEncoder[A] extends Encoder[A]
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- implicit def decodeEnumeration[A, Repr <: Coproduct](implicit gen: Aux[A, Repr], rr: EnumerationSnakeDecoder[Repr]): EnumerationSnakeDecoder[A]
- implicit def decodeEnumerationCCons[K <: Symbol, V, R <: Coproduct](implicit wit: Aux[K], gv: Aux[V, HNil], dr: EnumerationSnakeDecoder[R]): EnumerationSnakeDecoder[:+:[FieldType[K, V], R]]
- implicit val decodeEnumerationCNil: EnumerationSnakeDecoder[CNil]
- def deriveEnumerationSnakeDecoder[A](implicit decode: Lazy[EnumerationSnakeDecoder[A]]): Decoder[A]
- def deriveEnumerationSnakeEncoder[A](implicit encode: Lazy[EnumerationSnakeEncoder[A]]): Encoder[A]
- implicit def encodeEnumeration[A, Repr <: Coproduct](implicit gen: Aux[A, Repr], rr: EnumerationSnakeEncoder[Repr]): EnumerationSnakeEncoder[A]
- implicit def encodeEnumerationCCons[K <: Symbol, V, R <: Coproduct](implicit wit: Aux[K], gv: Aux[V, HNil], dr: EnumerationSnakeEncoder[R]): EnumerationSnakeEncoder[:+:[FieldType[K, V], R]]
- implicit val encodeEnumerationCNil: EnumerationSnakeEncoder[CNil]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()