jansson/test/testdata/valid

68 lines
805 B
Plaintext
Raw Normal View History

2009-07-10 02:01:40 +08:00
[""]
========
["a"]
========
["abcdefghijklmnopqrstuvwxyz1234567890 "]
========
["€þıœəßð some utf-8 ĸʒ×ŋµåäö𝄞"]
2009-07-10 02:01:40 +08:00
========
["\"\\\/\b\f\n\r\t"]
========
2009-07-15 01:47:57 +08:00
["\u002c one-byte UTF-8"]
========
["\u0123 two-byte UTF-8"]
========
["\u0821 three-byte UTF-8"]
========
["\uD834\uDD1E surrogate, four-byte UTF-8"]
========
2009-07-27 02:51:45 +08:00
["\u0012 escaped control character"]
========
2009-07-10 02:01:40 +08:00
[0]
========
[1]
========
[123]
========
[-0]
========
[-1]
========
[-123]
========
[123.456789]
========
[123e45]
========
[1E22]
========
[1e+2]
========
[1e-2]
========
[1E+2]
========
[1E-2]
========
[123.456e78]
========
[true]
========
[false]
========
[null]
========
[]
========
[{}]
========
[1,2,3,4,
"a", "b", "c",
{"foo": "bar", "core": "dump"},
true, false, true, true, null, false
]
========
{}
========
{"a":[]}