Firebug的JSON查看器无法正常工作

时间:2011-06-05 22:28:03

标签: php jquery ajax json firebug

在firebug中它说标题是content type: application/json,但我只有标题和响应标签(没有json标签)我的响应是有效的json:[{"id":"1","date":"2011-05-21 22:00:00","location":"roppongi","description":"blah","extra":"lbah"}] 但是为什么我不能在firebug中使用json viewer来查看它。这让我很烦,因为我的json viewer适用于其他网站(http://www.janodvarko.cz/firebug/tests/1275/Issue1275.htm) 谢谢..如果您需要更多信息,请告诉我。

1 个答案:

答案 0 :(得分:0)

如果我理解你的问题,它在Firebug 1.7.2中适用于我:

enter image description here

对于它的价值,Firebug不需要为JSON查看器设置适当的内容类型。