fromJsonOrNull
Decodes a JSON string into a GeoJsonObject, or returns null if deserialization fails.
Return
The decoded GeoJsonObject, or null if the string could not be deserialized.
Parameters
json
The JSON string to decode.
Decodes a JSON string into a GeoJsonObject, or returns null if deserialization fails.
The decoded GeoJsonObject, or null if the string could not be deserialized.
The JSON string to decode.