I'm fetching some data from an API and the response includes the user location in longitude and latitude.
This is to render an icon on a map according to the user's coordinates
That's the JSON object:
{
...
"lonlat": "POINT (-42.796763 -5.077056)",
}
I want to be able to parse this POINT
object and get the value of latitude and longitude.