ForEither

io.bullet.borer.Encoder.ForEither
object ForEither

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

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
ForEither.type

Members list

Implicits

Implicits

implicit def default[A : Encoder, B : Encoder]: Encoder[Either[A, B]]
implicit def raw[A : Encoder, B : Encoder]: Encoder[Either[A, B]]

An Encoder that unpacks the either and writes its content without any wrapping or type information.

An Encoder that unpacks the either and writes its content without any wrapping or type information.

Attributes