I have the following format of response from using curl:
{
"result": {
"total": 1,
"userquery": "my own query",
"items": [
{
"coord": {
"a": -326.9159528,
"b": 12.0192037
}
}
]
}
}
I want to save the parts after "a": and "b": so only the two sets of number will be saved in php variables.
How can I do it? And what would be the best way of doing it?