php 将json格式数据转换成数组 Posted on 1 1 月, 2019 //json格式数据 $data = ‘[{ “F_ModuleId”: “1”, “F_ParentId”: “0”, “F_EnCode”: “SysManage”,}]’; //转换成数组 $arr = json_decode($data,true); //输出 print_r($arr); Post Views: 74