I want to generate a URL link to a map in my outgoing email.
Here is what I am looking for as an end result:
https://www.waze.com/livemap?zoom=15&lat=36.632423&lon=-87.365766
I only want to values 36.632423 and -87.365766 so that I can generate the URL.
Below is an example of the input JSON,
"Foo": [
{
"Number": 5,
"location": {
"x": -87.365766,
"y": 36.632423
},
"Time": 1421872664777
},
How can I extract that information?