json_decode($json); 直接转义json数据后会发现转义后的数据时对象类型, 想要获得数组型,加一个参数 json_decode($json,true); 转载于:https://www.cnblogs.com/gyrgyr/p/7244531.html