SerializeAsToken

This interface should be implemented by classes that want to substitute a token representation of themselves if they are serialized because they have a lot of internal state that does not serialize (well).

This models a similar pattern to the readReplace/writeReplace methods in Java serialization.

Inheritors

Functions

Link copied to clipboard