object Register
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Register
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
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
- def apply[T](implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T], arg1: Encoder[T], arg2: Decoder[T]): Registration[T]
This method takes three implicit arguments: scala.reflect.api.TypeTags.TypeTag, io.circe.Encoder and io.circe.Decoder.
This method takes three implicit arguments: scala.reflect.api.TypeTags.TypeTag, io.circe.Encoder and io.circe.Decoder. TypeTag is provided by the compiler, Encoder and Decoder are derived using Magnolia. There are several scenarios, in which derivation may fail, requiring defining custom codecs in a separate trait.
Type class derivation will fail if the type or any of its fields don't have custom-defined Encoder/Decoder and at least one of the following statements about any of them is true:
- is a non-sealed trait
- is a sealed trait but two or more subtypes have the same name (in different packages)
- is a non-case class
- is a private case class
- its
applymethod is private or has a different signature from what the autogeneratedapplywould have - its
unapplymethod is private or has a different signature from what the autogeneratedunapplywould have - is a scala.collection.Map with a non-String key (in that case use custom io.circe.KeyEncoder and io.circe.KeyDecoder)
- T
Type for which implicits will be looked for
- returns
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- 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()