parson/tests/test_2_pretty.txt

51 lines
1.1 KiB
Plaintext

{
"string": "lorem ipsum",
"utf string": "lorem ipsum",
"utf-8 string": "あいうえお",
"surrogate string": "lorem𝄞ipsum𝍧lorem",
"positive one": 1,
"negative one": -1,
"pi": 3.1400000000000001,
"hard to parse number": -0.00031399999999999999,
"big int": 2147483647,
"big uint": 4294967295,
"boolean true": true,
"boolean false": false,
"null": null,
"string array": [
"lorem",
"ipsum"
],
"x^2 array": [
0,
1,
4,
9,
16,
25,
36,
49,
64,
81,
100
],
"\/*": null,
"object": {
"nested string": "str",
"nested true": true,
"nested false": false,
"nested null": null,
"nested number": 123,
"nested array": [
"lorem",
"ipsum"
]
},
"*\/": null,
"\/**\/": "comment",
"\/\/": "comment",
"url": "https:\/\/www.example.com\/search?q=12345",
"escaped chars": "\" \\ \/",
"empty object": {},
"empty array": []
}