会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
songxm
博客园
首页
新随笔
联系
管理
订阅
2017年6月22日
json_decode 返回null 问题
摘要: 当查询了各种方法,并且尝试了各种方法, 1. json字符串必须以双引号包含 $output = str_replace("'", '"', $output); 2. json字符串必须是utf8编码 $output = iconv('gbk', 'utf8', $output); 3.不能有多余的
阅读全文
posted @ 2017-06-22 17:27 songxm
阅读(409)
评论(0)
推荐(0)
编辑
公告