Four Best Chrome Extensions for Reading JSON

本文介绍四款Chrome浏览器扩展程序,它们能够将原始JSON数据格式化为易于阅读的树状视图,包括JSONView、JSONFormatter、PrettyJSON和JSONPrettifier。这些工具提供语法高亮显示、树形视图展示、节点折叠展开等功能。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

来源:http://www.londatiga.net/it/four-best-chrome-extensions-for-reading-json/


As a software developer that deals much with RESTful API, reading raw JSON data on browser can be a pain. It always easier  to read a well formatted JSON in tree view than  in raw data format. Luckily, Chrome has some extensions that could format raw JSON data into tree view format that can be read easily. Here i’ll will show  four best Chrome extensions for reading JSON on Chrome browser, most of them work perfectly and very easy to use.

  1. JSONView
    This extension is a porting from original JSONView Firefox extension and supports JSONP. It validates JSON using a client-side javascript implementation ofJSONLint and compliant with rfc 4627.
    JSONView  supports syntax highlighting and displays JSON in tree view where the nodes on the tree can be collapsed and expanded by clicking on the plus (+) or minus (-) sign on  the left of each node.
    jsonview chrome extension
  2. JSONFormatter
    JSONFormatter supports syntax highlighting and displays JSON in tree view where the nodes on the tree can be collapesed and expanded by clicking on the triangle icon on the left of each node. It also provides a button for switching to original (raw) data.
    jsonformatter chrome extension
  3. PrettyJSON
    PrettyJSON supports syntax highlighting and displays JSON in tree view. Unlike the two previous extensions, the nodes on the tree can not be collapsed and expanded. And because of it doesn’t check for a valid content type (application/json), it will not format JSON data that comes from a URL without ‘json’ appended. For example, it will display correctly the JSON data that comes from http://example.com/data.json but will not work if the JSON data comes from http://example.com/data.php.
     
    prettyjson chrome extension
  4. JSON Prettifier
    JSON Prettifier  supports syntax highlighting and displays JSON in tree view where the nodes on the tree can be collapsed and expanded by clicking on the plus (+) or minus (-) sign on  the left of each node. It also has a button for switching to original (raw) data.
    jsonprettifier chrome extension
Related post: 


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值