Companion

Factory methods for creating and serializing MultiGeometry objects.

Functions

Link copied to clipboard
fun fromJson(@Language(value = "json") json: String): MultiGeometry

Decodes a JSON string into a MultiGeometry.

Link copied to clipboard
fun fromJsonOrNull(@Language(value = "json") json: String): MultiGeometry?

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

Link copied to clipboard
fun toJson(multiGeometry: MultiGeometry): String

Encodes a MultiGeometry into a JSON string.