![JAR search and dependency download from the Maven repository](/logo.png)
ndeg.classy-generic_sjs0.6_2.12.0.3.0.source-code.package.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of classy-generic_sjs0.6_2.12 Show documentation
Show all versions of classy-generic_sjs0.6_2.12 Show documentation
configuration with less hassle
The newest version!
/* -
* Case Classy [classy-generic]
*/
package classy
import core.Decoder
import generic.derive._
/** Provides automatic derivation of decoders for case class hierarchies.
*
* Available with the `"classy-generic"` module.
*/
package object generic {
def deriveDecoder[A, B](implicit ev: MkDecoder[A, B]): Decoder[A, B] = ev.decoder(Options.default)
def makeDecoder[A, B](implicit ev: MkDecoder[A, B]): MkDecoder[A, B] = ev
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy