mirror of
https://github.com/kgabis/parson.git
synced 2025-02-05 17:05:29 +00:00
50 lines
1.0 KiB
Plaintext
50 lines
1.0 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.140000,
|
||
|
"hard to parse number": -0.000314,
|
||
|
"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
|
||
|
],
|
||
|
"object_empty": {},
|
||
|
"/*": 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": []
|
||
|
}
|