fromJsonOrNull

fun fromJsonOrNull(@Language(value = "json") json: String): PointGeometry?(source)

Decodes a JSON string into a PointGeometry, or returns null if deserialization fails.

Return

The decoded PointGeometry, or null if the string could not be deserialized.

Parameters

json

The JSON string to decode.