This method is not recommended. Please use Sedona GeoJSON data source to read GeoJSON files.
Construct a Geometry from GeoJson
Signatures
Parameters
A GeoJSON string representation of a geometry.
Return type
Examples
The way that SedonaSQL reads GeoJSON is different from that in SparkSQL