V
BBuildShip
•Created by V on 2/5/2025 in #❓・buildship-help
Data Transformation
Hi all.
I have a generated json, which has children, and some children might also have children. I created a loop, to iterate through them, as I also need to update those children, by adding new key value to them, separated by switch case, based on child type. So question is, how can I get final, updated data? If this was JS code, I would use recursive function, or reduce, to have new updated data, or with foreach modify original data.
But I can't figure it out on here. I looked through documentation, and videos but couldn't find anything like this
4 replies