You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/demo/index.html
+63-16Lines changed: 63 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -44,27 +44,44 @@ <h2>Interactive Example</h2>
44
44
></textarea>
45
45
<buttonid="parse-button">Parse JSON</button>
46
46
</div>
47
+
48
+
47
49
<andypf-json-viewer
48
-
id="interactive-demo"
49
50
show-toolbar
50
-
expanded
51
+
id="interactive-demo3"
52
+
expanded="5"
53
+
theme="monokai"
54
+
indent="2"
55
+
expand-icon-type="square"
56
+
show-size
57
+
show-data-types
58
+
show-infos
51
59
show-copy
52
-
show-size
53
-
toolbar-show-copy
54
-
toolbar-show-size
55
-
toolbar-show-search
56
-
toolbar-show-expand-controls
57
-
toolbar-show-indent-controls
58
-
toolbar-show-theme-select
59
-
toolbar-show-infos
60
60
>
61
-
{"test":"ètest"}
61
+
{
62
+
"string": "this is a test",
63
+
"integer": 42,
64
+
"array": [
65
+
1,
66
+
2,
67
+
3,
68
+
"test",
69
+
null
70
+
],
71
+
"float": 3.14159,
72
+
"object": {
73
+
"first-child": true,
74
+
"second-child": false,
75
+
"last-child": null,
76
+
"strings": {
77
+
"veryLong": "The 'json-viewer' is a powerful tool designed specifically for displaying and analyzing JSON data. JSON (JavaScript Object Notation) is a widely used data format for transmission and storage. It's easy to understand and write, but when it comes to visualizing extensive or complex JSON data, it can be a challenge."
0 commit comments