最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

【已解决】给Firefox安装JSON插件使得方便查看JSON数据

JSON crifan 7581浏览 0评论

【背景】

看到别人在Firefox上用了个JSON插件,可以很直观的显示json数据。效果很不错。

所以也打算去装一个。

 

【解决过程】

1.搜:

Firefox的JSON插件

参考:

Chrome/FireFox浏览器下处理JSON的插件_Bruce_新浪博客

JSONView :: Firefox 附加组件

firefox addon org jsonview

 

install trusted addon jsonview for firefox

但是后来去发现没用:

打开一个url,返回的是json数据:

open url return still pure json string

 

但是却没有自动显示出高亮后的,格式化之后的json数据。

 

2.搜:

firefox jsonview not working

firefox json plugin

Firefox 8+ renders JSON as text even when JSONView installed · Issue #1 · bhollis/jsonview

重新去主页:

http://jsonview.com/

下载:

https://addons.mozilla.org/en-US/firefox/addon/jsonview/

 

重启Firefox后,再去看看:

还是没用。

 

2.后来去下载:

JSON-handle

firefox about addon search json json-handle

json-handle will install after restart firefox

 

重启后,删除JSONView:

然后再去访问url,返回json后,立刻就可以显示出格式化后的好看的效果了.

json show formatted look good using json-handle

 

3.然后还支持节点折叠:

folding node for json-handle

 

4.取消勾选:show value,不显示值:

not show value of json-handle

 

5.勾选show ico,还可以显示出节点类型:

show icon can see json type json-handle

 

6.勾选:folder style,以文件夹形式显示:

support folder style of json-handle

 

7.对于右上侧的选项,点击最右上角的,可以隐藏折叠显示:

hide option after click for json-handle

 

8.对于json值里面有图片的,点击link还可以查看图片:

json-handle click imgae link

open image link show picture

 

方便点击某个节点折叠或展开。

【总结】

Firefox中好用的用来查看JSON数据的JSON插件是:JSON-handle

通过Firefox的工具->附件组件->搜索 json->会找到 JSON-handle,点击安装,重启Firefox后即可生效。

转载请注明:在路上 » 【已解决】给Firefox安装JSON插件使得方便查看JSON数据

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
85 queries in 0.419 seconds, using 22.14MB memory