Encodes a class belonging to a type hierarchy. Type is identified by the index in the picklers
sequence, so care
must be taken to ensure picklers are added in the same order.
- Companion
- object
Value members
Concrete methods
@noinline
def addException[B <: A & Throwable](ctor: String => B)(implicit tag: ClassTag[B]): CompositePickler[A]
@noinline
def addTransform[B <: A, C](transformTo: B => C, transformFrom: C => B)(implicit p: Pickler[C], tag: ClassTag[B]): CompositePickler[A]