fromJson

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

Deserialize a MultiPolygon from a JSON string.

Return

The deserialized MultiPolygon.

Parameters

json

The JSON string to parse.

Throws

if the JSON string is invalid or cannot be deserialized.

if the geometry does not meet structural requirements.