I have a JSON string that has 1-n numbers of lat/lng records. It looks something like this:
{\\\"lat\\\":37.790388261934424,\\\"lng\\\":-122.46047996826172},
Use json_decode.
You will need to unescape quotes first; just use
$unescaped_data = str_replace('\"','"',$data)