Debian Codegraph @

test/command/suite/load/json/object/nested.expected

raw
1 table_create Notes TABLE_NO_KEY
2 [[0,0.0,0.0],true]
3 column_create Notes data COLUMN_SCALAR JSON
4 [[0,0.0,0.0],true]
5 load --table Notes
6 [
7 {"data": "{\"string\":\"world\",\"integer\":29,\"object\":{\"null\":null,\"array\":[null,{\"array_object_array\":[-2.9]},true],\"sub_object\":{\"false\":false,\"double\":2.9},\"object_integer\":2929},\"true\":true}"}
8 ]
9 [[0,0.0,0.0],1]
10 select Notes
11 [
12 [
13 0,
14 0.0,
15 0.0
16 ],
17 [
18 [
19 [
20 1
21 ],
22 [
23 [
24 "_id",
25 "UInt32"
26 ],
27 [
28 "data",
29 "JSON"
30 ]
31 ],
32 [
33 1,
34 {
35 "string": "world",
36 "integer": 29,
37 "object": {
38 "null": null,
39 "array": [
40 null,
41 {
42 "array_object_array": [
43 -2.9
44 ]
45 },
46 true
47 ],
48 "sub_object": {
49 "false": false,
50 "double": 2.9
51 },
52 "object_integer": 2929
53 },
54 "true": true
55 }
56 ]
57 ]
58 ]
59 ]
60 dump
61 table_create Notes TABLE_NO_KEY
62 column_create Notes data COLUMN_SCALAR JSON
63
64 load --table Notes
65 [
66 ["_id","data"],
67 [1,"{\"string\":\"world\",\"integer\":29,\"object\":{\"null\":null,\"array\":[null,{\"array_object_array\":[-2.9]},true],\"sub_object\":{\"false\":false,\"double\":2.9},\"object_integer\":2929},\"true\":true}"]
68 ]