有没有方便的工具来查看/分析 JSON 响应?
我发现使用浏览器查看 JSON 响应很不方便,然后将代码复制/粘贴到编辑器中,然后必须添加换行符以使其更具可读性。
如果有一个工具可以让我输入 URL 并以更可用的格式接收 JSON,那就太好了,比如向下钻取树,或者至少对文本进行某种颜色编码。
推荐什么工具?
I find it inconvenient using my browser to view JSON responses, then copy/paste the code into my editor, then have to put line-breaks in to make it more readable.
It would be great to have a tool that allows me to enter a URL and receive a JSON in a more usable format, like say, a drill-down tree, or at least some color-coding of the text.
What tools are recommended?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
当在 Firefox 中不使用 Firebug 时,我使用了 JsonViewer 并粘贴到我的 JSON 文本中。
When not using Firebug in Firefox, I've used JsonViewer and pasted in my JSON text.
使用 Google Chrome 中的 javascript 开发人员窗口。您可以深入了解任何对象。
只需输入“JSON.parse(your_json_string)”,然后点击即可!
Use the javascript developer window in Google Chrome. You can drill down into any objects.
Just type e.g. "JSON.parse(your_json_string)" and click away!