Forum Discussion
alchemiz
3 years agoContributor III
Kindly post a screenshot of pipeline validation before the JSON splitter snap
Thanks
dabalka
3 years agoNew Contributor II
- tstack7 years agoFormer Employee
I think you’re looking for the GroupByN snap. You can set the Group Size to zero to have it consume all of the documents.
- matt_bostrom7 years agoNew Contributor II
can you share how i would use this snap with the data from above?
- tlikarish7 years agoEmployee
Here’s a full example of what @tstack described.
First group all the documents into a single document.
Then select all the values into a single list using a mapper. Here is an expression that uses the jsonPath function to select all the value from the document.
jsonPath($, '$.group[*].value')
Here is a copy of the pipeline if you want to experiment with it further.
groupby_2018_10_16.slp (5.6 KB)