最新下载
热门教程
- 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 |
|
相关文章
- 燕云十六声DirectX12崩溃解决方法分享 10-25
- 燕云十六声万钧坠奇术获取方法分享 10-25
- 燕云十六声太白醉月奇术获取方法分享 10-25
- 燕云十六声凌云踏奇术获取方法分享 10-25
- 流放之路2锐眼闪电箭简单感电方法分享 10-25
- 流放之路2技能装备多个辅助石方法分享 10-25