# JsonView-Chrome插件
已经改名了 叫JsonVue https://github.com/gildas-lormeau/JSONVue
开发中,我们经常遇到调试接口,在浏览器中输入URL回车后数据返回
使用前后效果图
参考:https://www.cnblogs.com/whycxb/p/7126116.html
自制的 JSONView 配色方案:
body {
white-space: pre;
font-family: Consolas;
//background-image:url(http://photo.enterdesk.com/2010-9-7/enterdesk.com-3E06E8ADF8975A2847DA5D6FAB8C6FDC.jpg);
background-color:rgba(255,255,255,1);
}
#json{
font-family: Consolas;
color:blank;
}
a {
font-family: Consolas;
color:rgba(163,21,21,1);
}
.property {
font-weight: bold;
color:rgba(4,81,165,0.9);
font-size:13px;
}
.type-null {
color: red;
font-weight: bold;
font-size:13px;
}
.type-boolean {
color: firebrick;
font-size:13px;
}
.type-number {
color: red;
font-size:13px;
}
.type-string {
color:rgb(0,128,128) ;
font-size:13px;
font-weight:bold;
}
.callback-function {
color: gray;
font-size:13px;'
}
.collapser:after {
content: "-";
}
.collapsed > .collapser:after {
content: "+";
}
.ellipsis:after {
content: " ... ";
}
.collapsible {
margin-left: 2em;
color:blank;
}
.hoverable {
padding-top: 1px;
padding-bottom: 1px;
padding-left: 2px;
padding-right: 2px;
border-radius: 2px;
}
.hovered {
background-color: rgba(235, 238, 249, 1);
}
.collapser {
padding-right: 6px;
padding-left: 6px;
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
← GIT-版本控制工具 Python →