fromJson

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

Decodes a JSON string into a PointGeometry.

Return

The decoded PointGeometry.

Parameters

json

The JSON string to decode.

Throws

if the JSON string is invalid or cannot be deserialized.

if the geometry does not meet structural requirements.