Forum Discussion
Actually, here’s a much simpler pipeline to accomplish the same. Note that both of these pipelines resolve the name conflict between the “Total” and “TotalGross” fields in the root object vs the TransactionItem objects by renaming either the child fields (first pipeline) or the root fields (second pipeline).
JSON flatten 2_2018_11_28.slp (13.9 KB)
You could also concatenate the two arrays together and then use a single JsonSplitter on the resulting array:
$TransactionItems.concat($TransactionMedias)
The Copy/Union can also be removed then as well.
Here’s a pipeline using Tim’s tip:
JSON flatten 3_2018_11_29.slp (10.9 KB)
Related Content
- 11 months ago
- 3 years ago
- 10 months ago