Forum Discussion
wcl3y2
5 years agoNew Contributor III
Yes, this works. I just wanted to see if there was a standard snap that would be more straight-forward and to make sure there aren’t any performance concerns with using map and extend.
ptaylor
5 years agoEmployee
Depending on your use case, it might be possible to use the JSON Splitter instead. It can split the child array into separate output documents, and copy any desired fields from the parent (using Include Paths) or all of the parent’s fields (using Include scalar parents). But I wouldn’t worry about a potential performance with Mapper unless you observe an actual performance issue with Mapper.
Hope that helps.
- wcl3y25 years agoNew Contributor III
Sounds good, thanks for your help!