@@ -38,23 +38,23 @@ Refer to the inspect tab and data preview to verify your mapping output.
38
38
Refer to the following JSON object for the below examples of the flatten transformation
39
39
40
40
``` json
41
- {
41
+ [ {
42
42
"name" :" MSFT" ,"location" :" Redmond" , "satellites" : [" Bay Area" , " Shanghai" ],
43
43
"goods" : {
44
44
"trade" :true , "customers" :[" government" , " distributer" , " retail" ],
45
45
"orders" :[
46
46
{"orderId" :1 ,"orderTotal" :123.34 ,"shipped" :{"orderItems" :[{"itemName" :" Laptop" ,"itemQty" :20 },{"itemName" :" Charger" ,"itemQty" :2 }]}},
47
47
{"orderId" :2 ,"orderTotal" :323.34 ,"shipped" :{"orderItems" :[{"itemName" :" Mice" ,"itemQty" :2 },{"itemName" :" Keyboard" ,"itemQty" :1 }]}}
48
- ]}}
48
+ ]}},
49
49
{"name" :" Company1" ,"location" :" Seattle" , "satellites" : [" New York" ],
50
50
"goods" :{"trade" :false , "customers" :[" store1" , " store2" ],
51
51
"orders" :[
52
52
{"orderId" :4 ,"orderTotal" :123.34 ,"shipped" :{"orderItems" :[{"itemName" :" Laptop" ,"itemQty" :20 },{"itemName" :" Charger" ,"itemQty" :3 }]}},
53
53
{"orderId" :5 ,"orderTotal" :343.24 ,"shipped" :{"orderItems" :[{"itemName" :" Chair" ,"itemQty" :4 },{"itemName" :" Lamp" ,"itemQty" :2 }]}}
54
- ]}}
54
+ ]}},
55
55
{"name" : " Company2" , "location" : " Bellevue" ,
56
- "goods" : {"trade" : true , "customers" :[" Bank" ], "orders" : [{"orderId" : 4 , "orderTotal" : 123.34 }]}}
57
- {"name" : " Company3" , "location" : " Kirkland" }
56
+ "goods" : {"trade" : true , "customers" :[" Bank" ], "orders" : [{"orderId" : 4 , "orderTotal" : 123.34 }]}},
57
+ {"name" : " Company3" , "location" : " Kirkland" }]
58
58
```
59
59
60
60
### No unroll root with string array
0 commit comments