将JSON字符串转换为数组? [英] Convert JSON string to array?

查看:93
本文介绍了将JSON字符串转换为数组?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用PHP将以下JSON字符串转换为数组...



I want to convert the following JSON string to array using PHP...

a:6:{
i:0;a:2:{s:2:"id";d:31003200320082;s:7:"address";s:5:"test1";}
i:1;a:2:{s:2:"id";d:83003500350087;s:7:"address";s:9:"test2";}
i:2;a:2:{s:2:"id";d:41002800280012;s:7:"address";s:5:"test3";}
}









请帮助我....





Please help me....

推荐答案

Google [ ^ ]你的地方真的坏了吗?



它已经完成了很多次,你应该能够在第一个fe中找到这个例子w链接本身。
Is Google [^]really broken at your place?

It has been done so many time before and you should be able to find the example in first few links itself.


这篇关于将JSON字符串转换为数组?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆