You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just a naive idea basically but I wondered if there is a functionality already built-in. Mapping an Array into an Object is something I use very often.
The text was updated successfully, but these errors were encountered:
along with using nested maps already gave me the possibility to transform an array into an object using a specified key. Would this be considered a good idea ?
Initially I was asking if there is already a way to transform an Array into an Object. If not - yes I believe this would be a great addition also for others. The workaround I found after that was just a quick fix for my use case.
If part of the data looks like this
can this part be transformed to
?
Maybe if the
run
function in an operate block gets passed the whole item you could do something like thisJust a naive idea basically but I wondered if there is a functionality already built-in. Mapping an Array into an Object is something I use very often.
The text was updated successfully, but these errors were encountered: