Deserialize and return an object, storing errors in the attribute errors

If a static_type is given, only subtypes of the static_type are accepted.

This method behavior varies according to the implementation engines.

Property definitions

serialization $ Deserializer :: deserialize
	# Deserialize and return an object, storing errors in the attribute `errors`
	#
	# If a `static_type` is given, only subtypes of the `static_type` are accepted.
	#
	# This method behavior varies according to the implementation engines.
	fun deserialize(static_type: nullable String): nullable Object is abstract
lib/serialization/serialization_core.nit:111,2--116,75

json $ JsonDeserializer :: deserialize
	redef fun deserialize(static_type)
	do
		errors.clear
		return convert_object(root, static_type)
	end
lib/json/serialization_read.nit:292,2--296,4

msgpack $ MsgPackDeserializer :: deserialize
	redef fun deserialize(static_type)
	do
		errors.clear

		var root = stream.read_msgpack
		return convert_object(root, static_type)
	end
lib/msgpack/serialization_read.nit:313,2--319,4