最新下载
热门教程
- 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 |
|
相关文章
- 《太吾绘卷:天幕心帷》金针伐脉功功法特性介绍 06-23
- 《太吾绘卷:天幕心帷》内经灵枢篇功法特点解读 06-23
- 《太吾绘卷:天幕心帷》全篇甲乙功法特点介绍 06-23
- 《太吾绘卷:天幕心帷》百花谷玩法攻略指南 06-23
- 心之钥技艺详解 心之钥技能特长全面分析 06-23
- 9秒!《卧龙》续作《卧龙2:凤火连天》公布全新剧情故事预告短片 06-23