simpleString

kreuzberg.extras.forms.Codec$.simpleString$
object simpleString extends Codec[String, String]

Attributes

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

Members list

Value members

Concrete methods

override def decode(encoded: String): DecodingResult[String]

Decodes the value, either an error or the decoded value.

Decodes the value, either an error or the decoded value.

Attributes

Definition Classes
override def encode(value: String): String

Encodes a value into a string.

Encodes a value into a string.

Attributes

Definition Classes

Inherited methods

final def decodeOrThrow(transport: String): U

Decode a value or throw.

Decode a value or throw.

Attributes

Inherited from:
Codec
def xmap[V](mapFn: String => V, contraMapFn: V => String): Codec[V, T]

Maps the encoded type to another type.

Maps the encoded type to another type.

Attributes

Inherited from:
Codec