Why does Mule DataWeave array map strip top level objects?
问题 I'm trying to understand the behaviour of DataWeave v1.0 when it comes to mapping objects in a root JSON array. At this stage I just want to map each item in the array as-is without mapping each individual field of the item. I need to do it for each item in the array because later on I want to edit some of the fields, but since there are potentially many I don't want the overhead of mapping them one-by-one. This is my dataweave: %dw 1.0 %output application/json --- payload map { ($) } This is