Package

classy.generic

derive

Permalink

package derive

Visibility
  1. Public
  2. All

Type Members

  1. sealed abstract class CharCat extends Product with Serializable

    Permalink

    A categorization of char.

  2. trait CoproductStrategy extends Serializable

    Permalink

    An option that configures the behavior for automatically derived decoders of coproduct types (sealed trait hierarchies).

  3. final case class MkDecoder[A, B](run: (Options) ⇒ Decoder[A, B]) extends Product with Serializable

    Permalink

    Captures the ability to automatically create a decoder given Options

  4. case class MkDecoderWithOptions[A, B](mkDecoder: MkDecoder[A, B], options: Options) extends Product with Serializable

    Permalink

    Captures the ability to automatically create a decoder.

    Captures the ability to automatically create a decoder.

    Additionally, this has builder-style methods to facilitate configuring Options for the derived decoder.

  5. final case class MkRead[A, B](f: (Options) ⇒ Read[A, B]) extends Serializable with Product

    Permalink
  6. trait NamingStrategy extends Serializable

    Permalink

    Captures the ability to take an input string name and output a new name.

  7. case class Options(naming: NamingStrategy = NamingStrategy.Identity, coproduct: CoproductStrategy = CoproductStrategy.Nested()) extends Product with Serializable

    Permalink

    Options for the behavior of automatically derived decoders

    Options for the behavior of automatically derived decoders

    naming

    a NamingStrategy to control the mapping from field names to the value read from the input.

    coproduct

    a CoproductStrategy govering how coproduct (sealed trait hierarchies) types are differentiated and read from the input

Value Members

  1. object CharCat extends Serializable

    Permalink
  2. object CoproductStrategy extends Serializable

    Permalink
  3. object MkDecoder extends MkDecoderInstances2 with Serializable

    Permalink
  4. object MkRead extends MkReadInstances0 with Serializable

    Permalink
  5. object NamingStrategy extends Serializable

    Permalink

    Companion containing several basic naming strategy implementations

  6. object Options extends Serializable

    Permalink
  7. object StringSplitter

    Permalink

    A utility for splitting strings on word/phrase boundaries.

    A utility for splitting strings on word/phrase boundaries. This supports the various naming strategies

Ungrouped