fromJson

fun fromJson(jsonObject: JSONObject?): LatLon?

Creates a LatLon object from a JSONObject.

Return

A LatLon object, or null if the JSONObject is null or missing required fields

Parameters

jsonObject

The JSONObject representation of the LatLon