Decoder

trait Decoder[E, D, F]

Type class for types that can be decoded from other types.

Type Params
D

decoded type - what to decode to.

E

encoded type - what to decode from.

F

failure type - how to represent errors.

class Object
trait Matchable
class Any

Value members

Abstract methods

def decode(e: E): Either[F, D]