Build a clean serialized representation of this.
The signature of the returned variant is entirely determined by the underlying implementation. You can recreate a serialized instance by calling parse provided that you know the correct Type for the serialized instance.
The instance to serialize
A reference to a Variant with the serialized data. The variants type signature is
entirely dependent of the underlying implementation. Free using