deserialize


Description:

public Location deserialize (Variant serialized)

This call undoes the effect of serialize, that is, it turns a Variant into a Location.

The conversion happens in the context of this (i.e, for a city or weather station, the resulting location will be attached to a administrative division, country and region as appropriate).

Parameters:

this

a world-level Location

serialized

the Variant representing the Location

Returns:

the deserialized location.