将字符串更改为$string = '[{"name":"jack","address":"who knows"},{"name":"jill","address":"who knows too"}]';$array = json_decode($array,true);但是如果反向将数组更改为字符串怎么办$array = [{"name":"jack","address":"who knows"},{"name":"jill","address":"who knows too"}];$string = $array; // $string is $string like on first example
1 回答
- 1 回答
- 0 关注
- 99 浏览
添加回答
举报
0/150
提交
取消