最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - Force Chrome to show Json response formatted as tree structure - Stack Overflow

programmeradmin3浏览0评论

I can make my app to "force" Chrome (v 39.0.2171.99 m) to show http response as Json (instead of XML).

How do I get the Json in a tree structure (instead of a string)?

Checking the Preview tab in dev tools doesn't work for me.

I could paste the Json string into JsonLint, but I want to know a more direct route, if there is one.

I can make my app to "force" Chrome (v 39.0.2171.99 m) to show http response as Json (instead of XML).

How do I get the Json in a tree structure (instead of a string)?

Checking the Preview tab in dev tools doesn't work for me.

I could paste the Json string into JsonLint, but I want to know a more direct route, if there is one.

Share Improve this question edited May 23, 2017 at 12:00 CommunityBot 11 silver badge asked Jan 23, 2015 at 13:38 U r s u sU r s u s 6,97812 gold badges53 silver badges88 bronze badges 3
  • Does using a <pre> tag help, or not ? – Xavier Norbal Commented Jan 23, 2015 at 13:41
  • @XavierNorbal how would that help? – U r s u s Commented Jan 23, 2015 at 14:16
  • it always formatted me json strings so it was readable (I mean prehensible) – Xavier Norbal Commented Jan 23, 2015 at 14:43
Add a ment  | 

1 Answer 1

Reset to default 15

I've been using this extension (It's called JSON Viewer and the source is available at github) for years, it works great.

I don't know who's the developer is but if he ever reads this: Thanks for taking the time to develop such a timesaving tool!

发布评论

评论列表(0)

  1. 暂无评论