Good morning, can any tiger please give me a clue on how to obtain the value highlighted in bold from the following json result.
“long_name” : “75007”,
“short_name” : “75007”,
“types” : [ “postal_code” ]
thank you…
{
"plus_code" : {
"compound_code" : "V75V+9Q5 París, Francia",
"global_code" : "8FW4V75V+9Q5"
},
"results" : [
{
"address_components" : [
{
"long_name" : "75007",
"short_name" : "75007",
"types" : [ "postal_code" ]
},
{
"long_name" : "París",
"short_name" : "París",
"types" : [ "locality", "political" ]
},
{
"long_name" : "París",
"short_name" : "París",
"types" : [ "administrative_area_level_2", "political" ]
},
{
"long_name" : "Isla de Francia",
"short_name" : "IDF",
"types" : [ "administrative_area_level_1", "political" ]
},
{
"long_name" : "Francia",
"short_name" : "FR",
"types" : [ "country", "political" ]
}
],
"formatted_address" : "75007 París, Francia",
"geometry" : {
"bounds" : {
"northeast" : {
"lat" : 48.8637587,
"lng" : 2.3332731
},
"southwest" : {
"lat" : 48.845927,
"lng" : 2.2898664
}
},
"location" : {
"lat" : 48.85433450000001,
"lng" : 2.3134029
},
"location_type" : "APPROXIMATE",
"viewport" : {
"northeast" : {
"lat" : 48.8637587,
"lng" : 2.3332731
},
"southwest" : {
"lat" : 48.845927,
"lng" : 2.2898664
}
}
},
"place_id" : "ChIJWWRTZChw5kcRYFHY4caCCxw",
"types" : [ "postal_code" ]
}
],
"status" : "OK"
}