Convenience base class for GenCodecs that serialize values as objects.
NOTE: if you need to implement a custom GenCodec that writes an object, the best way to do it is to have
manually implemented apply and unapply in companion object or by using GenCodec.fromApplyUnapplyProvider.
Convenience base class for
GenCodec
s that serialize values as objects. NOTE: if you need to implement a customGenCodec
that writes an object, the best way to do it is to have manually implementedapply
andunapply
in companion object or by using GenCodec.fromApplyUnapplyProvider.