问题描述
|
我是mootools的初学者,任何人都可以帮助我弄清楚如何有效地解码JSON中的每一个喊声以登录控制台。
var shoutsRequest = new Request.JSON(
{
url: this.url,onSuccess: function(shouts)
{
console.log(JSON.decode(shouts));
},onError: function(text,error)
{
console.log(text)
}
}
).get();
这是JSON。
[
{id:\"1\",username:\"codyrob\",shout:\"This is a test.\",time:\"May 30,3:20 pm\"},{id:\"2\",{id:\"3\",{id:\"4\",{id:\"5\",3:20 pm}
]
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)