fromJson
Decodes a JSON string into a GeoJsonObject.
Return
The decoded GeoJsonObject.
Parameters
json
The JSON string to decode.
Throws
if the JSON string is invalid or cannot be deserialized.
if the JSON contains an invalid GeoJsonObject.