Register a newly allocated object (even if not completely built)

Internal method called by objects in creation, to be implemented by the engines.

Property definitions

serialization $ Deserializer :: notify_of_creation
	# Register a newly allocated object (even if not completely built)
	#
	# Internal method called by objects in creation, to be implemented by the engines.
	fun notify_of_creation(new_object: Object) is abstract
lib/serialization/serialization_core.nit:131,2--134,55

json $ JsonDeserializer :: notify_of_creation
	# This may be called multiple times by the same object from constructors
	# in different nclassdef
	redef fun notify_of_creation(new_object)
	do
		var id = just_opened_id
		if id == null then return # Register `new_object` only once
		cache[id] = new_object
	end
lib/json/serialization_read.nit:82,2--89,4

msgpack $ MsgPackDeserializer :: notify_of_creation
	# This may be called multiple times by the same object from defs of a same constructor
	redef fun notify_of_creation(new_object)
	do
		var id = just_opened_id
		if id == null then return
		cache[id] = new_object
	end
lib/msgpack/serialization_read.nit:155,2--161,4