会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
bwteacher
博客园
首页
新随笔
管理
2016年1月20日
json_decode和json_encode
摘要: JSON出错:Cannot use object of type stdClass as array解决方法php再调用json_decode从字符串对象生成json对象时,如果使用[]操作符取数据,会得到上面的错误.产生原因:$res = json_decode($res);$res['key']...
阅读全文
posted @ 2016-01-20 16:37 bwteacher
阅读(216)
评论(0)
推荐(0)
编辑
公告