JSON转数组 获取问题
<br /><?php<br /><br /><br />$cityArry = '[<br /> {<br /> "省": "台湾",<br /> "市": [<br /> {<br /> "市名": "台北县",<br /> "编码": "101340101"<br /> },<br /> {<br /> "市名": "台中",<br /> "编码": "101340401"<br /> }<br /> ]<br /> }<br /> ]'; <br /><br /><br />$temp1 = json_decode($cityArry); <br /><br />$arr = array ($temp1);<br /><br />print_r($arr[0]);<br /><br />?><br />