I have some issue with creating a single JSON array containing multiple object coming from an aggregator.
Basically my scenario runs when I have a new booking (airbnb or booking.com). Each booking has multiple fees associated to it and I need to retrieve their data, so I iterate through each of them and then aggregate their data.
This is where I am probably messing up.
Because I would like to add this json array in my database (Glide), but I either get the first object of my JSON array, or [collection], [collection]…
Here is a screen video, it’ll be easier to explain.
Hi,
You could use an Iterator module before you aggregate the data into JSON format.
By looping through each fee associated with a booking, you could ensure that all details are captured correctly and aggregated into one cohesive JSON array.
Actually I already iterate through each fee to get their data, it’s after that that I can’t find how to concat all bundle into a single JSON array so have something similar :