I am trying to wrap a set of existing JSON fields into another field above them all. I plan to feed a file with multiple rows into this flow, each row needs to be looped through this process (I know how to do the looping already).
Original data output looks like this:
Key-value pairs. I’m taking a CSV file and converting to a JSON like this.
I want it to be converted to this:
Object at root, key-value pairs within for each row
I have tried using Aggregate, Summarize, etc, but these all wrap the fields into a JSON array(?) which is what I cannot use.
Aggregate results like this, which my following nodes are unable to accept:
Would you be able to share your workflow with some pinned dummy data? That would make it easier to understand what’s going on with your data structures.