toJson

Encodes a SingleGeometry into a JSON string.

Return

The encoded JSON string.

Parameters

singleGeometry

The object to encode.