Nov 12, 2018 Eric Guo 2840
摘要:简单的将对象型数组转换为普通数组,不适用遍历等操作
1、将对象json2、json_decode代码如下
$a = $response->Instances->Instance; $b = json_encode($a); $test = json_decode($b,TRUE); dump($test);