Skip to content

Commit e00a99b

Browse files
committed
Added demo file
1 parent cd84bcf commit e00a99b

1 file changed

Lines changed: 43 additions & 0 deletions

File tree

demo.json

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
/* Comment along one line */
3+
"Key A": "Value A",
4+
"Key B": {
5+
"Key B-1": "Value B-1",
6+
"Key B-2": [
7+
"Value B-2-a",
8+
"Value B-2-b"
9+
]
10+
"Folded Object": {
11+
"Key B-3-a": "Value B-3-a",
12+
"Key B-3-b": "Value B-3-b",
13+
"Key B-3-c": "Value B-3-c",
14+
},
15+
16+
/*
17+
* A comment that spans
18+
* Multiple lines
19+
*/
20+
"Folded Array": [
21+
"Item 1",
22+
"Item 2",
23+
"Item 3"
24+
]
25+
},
26+
27+
"Alternate formatting":
28+
{ "Numerical Value": -123.456e789
29+
, "Boolean Value A": true
30+
, "Boolean Value B": false
31+
, "Null Value" : null
32+
, "Empty Object" : {}
33+
, "Empty Array" : []
34+
},
35+
36+
"Invalid numbers": [
37+
123. ,
38+
10e ,
39+
0xA ,
40+
(456) 789-0123
41+
],
42+
"Invalid datatype": derp
43+
}

0 commit comments

Comments
 (0)