时间:2021-07-01 10:21:17 帮助过:25人阅读
$str = '"UID": 0, "RID": 0, "Name": "张三", "Sex": "女", "Age": 30,"mobile": "10000", "Job": "公司职员","remark": "很好", "ImgList": "a.jpg,b.jpg", "Time": 1000000';$str = '{'.$str.'}';$data = json_decode($str, true);echo $data['Name'].'
';print_r($data);
"UID": 0, "RID": 0, "Name": "张三", "Sex": "女", "Age": 30,"mobile": "10000", "Job": "公司职员","remark": "很好",
"ImgList": "a.jpg,b.jpg", "Time": 1000000 怎么实现把他变成数组 的形式 以:前面为键名后面为键值 调用时可以直接