原本json数据:{"status":0,"result":{"location":{"lng":116.32298703399,"lat":39.983424051248},"formatted_address":"北京市海淀区中关村大街27号1101-08室","business":"中关村,人民大学,苏州街","addressComponent":{"city":"北京市","district":"海淀区","province":"北京市","street":"中关村大街","street_number":"27号1101-08室"},"cityCode":131}}
经过json_decode处理后:array(2) {
["status"]=>
int(0)
["result"]=>
array(5) {
["location"]=>
array(2) {
["lng"]=>
float(116.32298703399)
["lat"]=>
float(39.983424051248)
}
["formatted_address"]=>
string(48) "北京市海淀区中关村大街27号1101-08室"
["business"]=>
string(32) "中关村,人民大学,苏州街"
["addressComponent"]=>
array(5) {
["city"]=>
string(9) "北京市"
["district"]=>
string(9) "海淀区"
["province"]=>
string(9) "北京市"
["street"]=>
string(15) "中关村大街"
["street_number"]=>
string(15) "27号1101-08室"
}
["cityCode"]=>
int(131)
}
}
怎样拿到["formatted_address"]的值
萧十郎
元芳怎么了
沧海一幻觉