Retrieve an Array of Object serialized via []= function

Returns null if there's no serialized Array corresponding to the given key or if it's the wrong value type Make sure that the serialized objects are serialize or that they redefine the appropriate methods. Refer to Serializable documentation for further details

Property definitions

android $ Bundle :: deserialize_array
	# Retrieve an `Array` of `Object` serialized via `[]=` function
	# Returns `null` if there's no serialized `Array` corresponding to the given key
	# or if it's the wrong value type
	# Make sure that the serialized objects are `serialize` or that they
	# redefine the appropriate methods. Refer to `Serializable` documentation
	# for further details
	fun deserialize_array(key: String): nullable Array[nullable Object]
	do
		var serialized_array = self.array_of_string(key)

		if serialized_array == null then return null

		var deserialized_array = new Array[nullable Object]

		for serialized_element in serialized_array do
			var deserializer = new JsonDeserializer(serialized_element)
			deserialized_array.add(deserializer.deserialize)
		end

		return deserialized_array
	end
lib/android/bundle/bundle.nit:521,2--541,4