Greasy Fork is available in English.

JSON formatter

Format JSON data in a beautiful way.

< Feedback on JSON formatter

Câu hỏi/Bình luận

§
Posted: 18-03-2016

不能支持 Github 上面的 json?

例如:

原链接:https://github.com/yarshure/Surf/blob/master/json/surge.json
打开:https://raw.githubusercontent.com/yarshure/Surf/master/json/surge.json


而且发现很多网站的 Json 格式都无法高亮。。。(我好像基本没成功过。。。噢,就 http://jsonview.com/example.json 成功了。。。)

GeraldTác giả
§
Posted: 18-03-2016

目前只通过Content-Type判断,所以Github上的json文件不会自动开启高亮,但是脚本命令里有个Toggle JSON format的开关,可以强制开启。

我主要是用于工作上的调试,后端传过来的数据肯定是带Content-Type: application/json的,所以没有问题。。

§
Posted: 29-03-2016
Edited: 29-03-2016

请问如何 强制开启?

===

噢,懂了。原来有菜单可以点击的。

Post reply

Đăng nhập để bình luận