fromJson
Decodes a JSON string into a LineStringGeometry.
Return
The decoded LineStringGeometry.
Parameters
json
The JSON string to decode.
Throws
if the JSON string is invalid or cannot be deserialized.
if the geometry does not meet structural requirements.