A CompositePickler[A]
is used to pickle closed class hierarchies under a supertype A
,
where the subclasses' precise static types are lost.
A CompositeUnpickler[A]
is used to unpickle closed class hierarchies under a supertype A
,
where the subclasses' precise static types are lost.
You should not need to implement this for the supported use cases: - Primitives and Strings - Case classes and case objects - Maps, Sets and Seqs - Class-hierarchies supported via composite picklers
Helper for registration of Pickler[B]/Unpickler[B] pairs via withSubtype[B]
You should not need to implement this for the supported use cases: - Primitives and Strings - Case classes and case objects - Maps, Sets and Seqs - Class-hierarchies supported via composite picklers
Use this object to invoke Pickling from user code
Do not import this companion object into scope in user code.
Use this object to invoke Unpickling from user code
Do not import this companion object into scope in user code.