Codec

kreuzberg.extras.forms.Codec
See theCodec companion trait
object Codec

Attributes

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

Members list

Type members

Classlikes

case class Xmap[A, B, E](underlying: Codec[A, E], mapFn: A => B, contraMapFn: B => A) extends Codec[B, E]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Codec[B, E]
class Object
trait Matchable
class Any
Show all
object simpleInt extends Codec[Int, String]

Attributes

Supertypes
trait Codec[Int, String]
class Object
trait Matchable
class Any
Self type
simpleInt.type
object simpleString extends Codec[String, String]

Attributes

Supertypes
trait Codec[String, String]
class Object
trait Matchable
class Any
Self type

Value members

Concrete methods

def fromEncoderAndDecoder[U, T](encoder: U => T, decoder: T => DecodingResult[U]): Codec[U, T]

Construct from functions.

Construct from functions.

Attributes

Givens