unmarshal static method
Encoded object parameter is encoded depending on format.
Implementation
static LatLon unmarshal(MarshalledObject marshalled)
{
  double x = marshalled.getRequired("lat").asDouble();
  double y = marshalled.getRequired("lon").asDouble();
  return new LatLon(x, y);
}