Add test/data/json-quirks.json

This commit is contained in:
Nigel Tao committed 2020-03-24 17:13:07 +11:00
1 parent 5695385055
commit 5d5a17cc9c
4 files changed
+87

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
[
123,
nan,
+INFINITY,
"escaped \a\b\e\f\n\r\t\v\0\'\"\?\\\/ things",
{
"ABC\u0394E": // U+00000394 GREEK CAPITAL LETTER DELTA.
"mno\U0001F4A9q", /* U+0001F4A9 PILE OF POO. */
/* And now for some
* invalid Unicode. */
"ABC\uD800E": // Unpaired surrogate.
"mno\U12345678q", // Out of range.
},
"w\x58\x59z",
"invÿlid UTF-8",
]
Binary file not shown.