I have a task in which I need to convert an Array of Objects data to specified data tree structure for to display it in frontend tree-table. This below is my Array of Objects data. I have to change this data into this below following data structure. I have tried to do this using Recursion in methods but, I can’t