Hi Guys I am trying to parse the below JSON format into CLLocation.
{
"id": 6,
"userId": 62,
"name": "town run",
**"locations": "(\n \"<+32.09230720,+74.17861462> +/- 5.00m (speed -1.00 mps / course -1.00) @ 10/14/14, 6:38:22 PM Pakistan Standard Time\",\n \"<+32.09231628,+74.17877018> +/- 5.00m (speed -1.00 mps / course -1.00) @ 10/14/14, 6:38:24 PM Pakistan Standard Time\",\n \"<+32.09231628,+74.17889893> +/- 5.00m (speed -1.00 mps / course -1.00) @ 10/14/14, 6:38:27 PM Pakistan Standard Time\",\n \"<+32.09231628,+74.17915642> +/- 5.00m (speed -1.00 mps / course -1.00) @ 10/14/14, 6:38:32 PM Pakistan Standard Time\",\n \"<+32.09232083,+74.17967141> +/- 5.00m (speed -1.00 mps / course -1.00) @ 10/14/14, 6:38:34 PM Pakistan Standard Time\"\n)"**
}
I want to parse "locations" into Array and then CLLocation. Please guide me how to resolve this issue.
Thanks in advance