Deserialize full Nit nullable Object from MessagePack formated data

The dynamic type of the deserialized object can be limited to static_type.

Warning: Deserialization errors are reported with print_error, the returned object may be partial or fall back on null. To handle the errors programmatically, use a MsgPackDeserializer.

Property definitions

msgpack :: serialization_read $ Bytes :: deserialize_msgpack
	# Deserialize full Nit `nullable Object` from MessagePack formated data
	#
	# The dynamic type of the deserialized object can be limited to `static_type`.
	#
	# Warning: Deserialization errors are reported with `print_error`,
	# the returned object may be partial or fall back on `null`.
	# To handle the errors programmatically, use a `MsgPackDeserializer`.
	fun deserialize_msgpack(static_type: nullable String): nullable Object
	do
		var stream = new BytesReader(self)
		var res = stream.deserialize_msgpack(static_type)
		stream.close
		return res
	end
lib/msgpack/serialization_read.nit:35,2--48,4