Skip to content

Commit b6a546a

Browse files
(AzureCXP) MicrosoftDocs/azure-docs#49924
Converting invalid JSON code to valid JSON code.
1 parent 80629ed commit b6a546a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

articles/data-factory/data-flow-flatten.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,23 +38,23 @@ Refer to the inspect tab and data preview to verify your mapping output.
3838
Refer to the following JSON object for the below examples of the flatten transformation
3939

4040
``` json
41-
{
41+
[{
4242
"name":"MSFT","location":"Redmond", "satellites": ["Bay Area", "Shanghai"],
4343
"goods": {
4444
"trade":true, "customers":["government", "distributer", "retail"],
4545
"orders":[
4646
{"orderId":1,"orderTotal":123.34,"shipped":{"orderItems":[{"itemName":"Laptop","itemQty":20},{"itemName":"Charger","itemQty":2}]}},
4747
{"orderId":2,"orderTotal":323.34,"shipped":{"orderItems":[{"itemName":"Mice","itemQty":2},{"itemName":"Keyboard","itemQty":1}]}}
48-
]}}
48+
]}},
4949
{"name":"Company1","location":"Seattle", "satellites": ["New York"],
5050
"goods":{"trade":false, "customers":["store1", "store2"],
5151
"orders":[
5252
{"orderId":4,"orderTotal":123.34,"shipped":{"orderItems":[{"itemName":"Laptop","itemQty":20},{"itemName":"Charger","itemQty":3}]}},
5353
{"orderId":5,"orderTotal":343.24,"shipped":{"orderItems":[{"itemName":"Chair","itemQty":4},{"itemName":"Lamp","itemQty":2}]}}
54-
]}}
54+
]}},
5555
{"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"}]
5858
```
5959

6060
### No unroll root with string array

0 commit comments

Comments
 (0)