Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
init from_deserializer(deserializer: Deserializer) do end
end
+redef interface Object
+ # Is `self` the same as `other` in a serialization context?
+ #
+ # Used to determine if an object has already been serialized.
+ fun is_same_serialized(other: nullable Object): Bool do return is_same_instance(other)
+end
+
# Instances of this class are not delayed and instead serialized immediately
# This applies mainly to `universal` types
interface DirectSerializable