This is my data structure:
{
"Country" : {
"USA" : {
"Latitude" : 37.0902,
"Longitude" : 95.7129
},
"Japan" : {
"Latitude" : 36.2048,
"Longitude" : 138.2529
}
}
Hello. How do I retrieve the country key which is "USA" and "Japan" and also the Latitude and Longitude for both of them using just javascript. I would like to retrieve all as the number of country is increase. Thanks
USAand37.090295.7129etc?