ForEither

object ForEither

The default Decoder for Either is not automatically in scope, because there is no clear "standard" way of encoding instances of Either.

class Object
trait Matchable
class Any

Implicits

Implicits

implicit def default[A : Decoder, B : Decoder]: Decoder[Either[A, B]]