网络预览面板中的Chrome(43.0.2357.81)JSON树 [英] Chrome (43.0.2357.81) JSON tree in network preview panel

查看:84
本文介绍了网络预览面板中的Chrome(43.0.2357.81)JSON树的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

还有没有其他人注意到网络面板中Chrome的预览选项卡现在将json作为字符串(与响应选项卡一样)输出,而不是将其格式化为树形?

Has anyone else noticed that Chrome's preview tab in the network panel now outputs json as a string (just as the response tab) rather than formatting it into a tree?

如果是这样,您能指出我正确的方向来解决它吗?

If so, can you point me in the right direction to get it solved?

Chrome版本为43.0.2357.81 m

Chrome version is 43.0.2357.81 m

干杯!

推荐答案

您是否为响应设置了正确的内容类型标头? 例如,在PHP中:

Do you set right content type header for the response? For example, in PHP:

header('Content-Type: application/json');

这篇关于网络预览面板中的Chrome(43.0.2357.81)JSON树的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆