forked from bogdandm/json2python-models
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdata.py
More file actions
31 lines (31 loc) · 729 Bytes
/
data.py
File metadata and controls
31 lines (31 loc) · 729 Bytes
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
test_data = [
{
"not_required": 1,
"null_or_bool": None,
"str_number": "3",
"child": {
"x": 1,
"subitems": [
{"wrapper": {"x": 1, "subitems": None}},
{"wrapper": {"x": 3, "subitems": None}},
1,
1.0,
],
},
},
{
"not_required": 2,
"null_or_bool": False,
"str_number": "6.6",
"child": {"x": 1},
},
{
"null_or_bool": True,
"str_number": "8",
"3d_array": [
[[0, 1, 2], [3, 4, 5], [6, 7, 8]],
[[0, 1, 2], [3, 4, 5], [6, 7, 8]],
[[0, 1, 2], [3, 4, 5], [6, 7, 8]],
],
},
]