最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
php解析 JSON 数据
时间:2022-06-24 18:17:22 编辑:袖梨 来源:一聚教程网
| 代码如下 | 复制代码 |
| $json_string='{"id":1,"name":"foo","email":"[email protected]","interest":["wordpress","php"]} '; $obj=json_decode($json_string); echo $obj->name; //prints foo echo $obj->interest[1]; //prints php |
|
相关文章
- 圣剑传说Visions of Mana水滴解锁方法 11-09
- 圣剑传说Visions of Mana火塔挑战指南 11-09
- 圣剑传说Visions of Mana职业选择推荐 11-09
- 幸福工厂无人机电池问题解决方法 11-09
- 幸福工厂无人机介绍及使用方法分享 11-09
- 幸福工厂炼钢步骤及焦油炼钢说明 11-09