Decoder

e.scala.codec.Decoder
See theDecoder companion object
trait Decoder[-I, +O]

Typeclass defining how to decode an input value to an output value, possibly failing with E

Type parameters

I

Type of input

O

Type of output

Attributes

See also
Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Codec[S, T]

Members list

Value members

Abstract methods

def decode(input: I): EOr[O]

Decodes an input, possibly failing with E

Decodes an input, possibly failing with E

Value parameters

input

An input

Attributes

Returns

Decoded output or E

See also