Forum Discussion
j_angelevski
5 years agoContributor III
Just use the following expression, this should do the job:
{}.extend(...$group)
This will simply put all objects from the array into a single object and it will overwrite duplicate keys.
- dimitri_hristov6 years agoContributor
I’ve put together a sample pipeline. In it I use a Mapper Snap to create the needed input for the XML Formatter Snap.
XML_with_Mapper_2020_06_29.slp (6.8 KB)
Hope it helps to clarify, or muddify 🙂 the matter further.
BR,
Dimitri