toJson
Encodes a GeoJsonObject into a JSON string.
The restrictions described in org.maplibre.spatialk.geojson.toJson apply.
Return
The encoded JSON string.
Parameters
geoJsonObject
The object to encode.
Throws
if serialization fails.
Encodes a GeoJsonObject into a JSON string.
The restrictions described in org.maplibre.spatialk.geojson.toJson apply.
The encoded JSON string.
The object to encode.
if serialization fails.