Interface CustomCopySerialization


  • public interface CustomCopySerialization
    When serializing implementations of this interface, serializers should not serialize the instance but the output of the serializationCopy() method, and such copy should not be used for anything else than that.
    Since:
    1.5.0
    • Method Detail

      • serializationCopy

        TypeAnnotation serializationCopy()
        Returns:
        a copy with the values to serialize.