Codec

io.scalaland.chimney.Codec
See theCodec companion class
object Codec

Attributes

See also
Since

1.2.0

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Codec.type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def define[Domain, Dto]: CodecDefinition[Domain, Dto, Empty, Empty, Default]

Creates an empty io.scalaland.chimney.dsl.CodecDefinition that you can customize to derive io.scalaland.chimney.Codec.

Creates an empty io.scalaland.chimney.dsl.CodecDefinition that you can customize to derive io.scalaland.chimney.Codec.

Type parameters

Domain

type of the domain value

Dto

typeof the DTO value

Attributes

Returns

io.scalaland.chimney.dsl.CodecDefinition with defaults

See also

Inherited methods

inline def derive[Domain, Dto]: Codec[Domain, Dto]

Provides io.scalaland.chimney.Codec derived with the default settings.

Provides io.scalaland.chimney.Codec derived with the default settings.

When transformation can't be derived, it results with compilation error.

Type parameters

Domain

type of domain value

Dto

type of DTO value

Attributes

Returns

io.scalaland.chimney.Codec type class definition

Since

1.2.0

Inherited from:
CodecCompanionPlatform (hidden)