Companion

Factory methods for creating and serializing PointGeometry objects.

Functions

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

Decodes a JSON string into a PointGeometry.

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

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

Link copied to clipboard
fun toJson(pointGeometry: PointGeometry): String

Encodes a PointGeometry into a JSON string.