-
-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathtest_data.json
More file actions
52 lines (52 loc) · 1.21 KB
/
test_data.json
File metadata and controls
52 lines (52 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
"test_suite": "JSON Parser Test Data",
"version": 1.0,
"description": "A comprehensive set of JSON structures for testing a parser.",
"data": {
"simple_types": {
"string": "Hello, world!",
"integer": 42,
"float": 3.14159,
"boolean_true": true,
"boolean_false": false,
"null_value": null
},
"special_strings": {
"unicode": "こんにちは世界",
"escaped_chars": "This is a string with a \"quote\" and a \\backslash\\.",
"empty_string": ""
},
"nested_structures": {
"object_in_object": {
"level1": {
"level2": {
"key": "value"
}
}
},
"array_in_object": {
"items": [1, "two", true, null]
},
"object_in_array": [
{
"id": 1,
"name": "First Item"
},
{
"id": 2,
"name": "Second Item"
}
]
},
"arrays": {
"array_of_numbers": [1, 2, 3, 4, 5],
"array_of_strings": ["a", "b", "c"],
"array_of_booleans": [true, false, true],
"mixed_array": [1, "two", false, {"key": "value"}],
"empty_array": []
},
"edge_cases": {
"empty_object": {}
}
}
}