| 1 |
[ |
| 2 |
[true,false, null], |
| 3 |
{ |
| 4 |
"A": "/*", |
| 5 |
"B": "B", |
| 6 |
"foo": 1, |
| 7 |
"b\"ar":{"bar":1}, |
| 8 |
"baz":"\"" |
| 9 |
}, |
| 10 |
[0, 123, 3.14159, 5.0e8, 0.2E+2, 47e-5], |
| 11 |
[ |
| 12 |
"" , "foo\"bar\"baz", "\u2642\\ " |
| 13 |
] |
| 14 |
] |
| 15 |
|
| 16 |
---------------------------------------------------- |
| 17 |
|
| 18 |
[ |
| 19 |
["punctuation", "["], |
| 20 |
["punctuation", "["], ["boolean", "true"], ["punctuation", ","], ["boolean", "false"], ["punctuation", ","], ["null", "null"], ["punctuation", "]"], ["punctuation", ","], |
| 21 |
["punctuation", "{"], |
| 22 |
["string", "\"A\""], ["punctuation", ":"], ["string", "\"/*\""], ["punctuation", ","], |
| 23 |
["string", "\"B\""], ["punctuation", ":"], ["string", "\"B\""], ["punctuation", ","], |
| 24 |
["string", "\"foo\""], ["punctuation", ":"], ["number", "1"], ["punctuation", ","], |
| 25 |
["string", "\"b\\\"ar\""], ["punctuation", ":"],["punctuation", "{"], ["string", "\"bar\""], ["punctuation", ":"], ["number", "1"], ["punctuation", "}"], ["punctuation", ","], |
| 26 |
["string", "\"baz\""], ["punctuation", ":"], ["string", "\"\\\"\""], |
| 27 |
["punctuation", "}"], ["punctuation", ","], |
| 28 |
["punctuation", "["], |
| 29 |
["number", "0"], ["punctuation", ","], ["number", "123"], ["punctuation", ","], ["number", "3.14159"], ["punctuation", ","], ["number", "5.0e8"], ["punctuation", ","], ["number", "0.2E+2"], ["punctuation", ","], ["number", "47e-5"], |
| 30 |
["punctuation", "]"], ["punctuation", ","], |
| 31 |
["punctuation", "["], |
| 32 |
["string", "\"\""], ["punctuation", ","], ["string", "\"foo\\\"bar\\\"baz\""], ["punctuation", ","], ["string", "\"\\u2642\\\\ \""], ["punctuation", "]"], |
| 33 |
["punctuation", "]"] |
| 34 |
] |
| 35 |
|
| 36 |
|
| 37 |
---------------------------------------------------- |
| 38 |
|
| 39 |
Checks for JSON superset. |