android :: Bundle :: deserialize
Object
serialized via []=
functionReturns null
if there's no serialized object corresponding to the given key
or if it's the wrong value type
Make sure that the serialized object is serialize
or that it
redefines the appropriate methods. Refer to Serializable
documentation
for further details
# Retrieve an `Object` serialized via `[]=` function
# Returns `null` if there's no serialized object corresponding to the given key
# or if it's the wrong value type
# Make sure that the serialized object is `serialize` or that it
# redefines the appropriate methods. Refer to `Serializable` documentation
# for further details
fun deserialize(key: String): nullable Object
do
var serialized_string = self.string(key)
if serialized_string == null then return null
var deserializer = new JsonDeserializer(serialized_string)
return deserializer.deserialize
end
lib/android/bundle/bundle.nit:504,2--519,4