i am using javascript , here i am facing problem to fetch arrayobject to application local varible.
here is the jsonarray.
{
"results" : [
{
"address_components" : [
{
"long_name" : "15-5-849",
"short_name" : "15-5-849",
"types" : [ "premise" ]
},
{
"long_name" : "500012",
"short_name" : "500012",
"types" : [ "postal_code" ]
}
],
"formatted_address" : "15-5-849, National Highway 7, Mahaboob Gunj, Afzal Gunj, Hyderabad, Telangana 500012, India",
"geometry" : {
"location" : {
"lat" : 17.3735682,
"lng" : 78.4767143
}}
}
]
}
here i want to get formated_address value into local variable.
Thanks for suggestion's