1Press CTRL+C to copy mysql> SET @json = '{ "type": "Point", "coordinates": [102.0, 0.0]}';
2mysql> SELECT ST_AsText(ST_GeomFromGeoJSON(@json));
3+--------------------------------------+
4| ST_AsText(ST_GeomFromGeoJSON(@json)) |
5+--------------------------------------+
6| POINT(102 0) |
7+--------------------------------------+