well the original object is like a hierarchy of items (like a graph) & I want this to be converted to sort of a level order traversal.
pkrc267
3
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| How to turn an Array of objects into an object? | 4 | 441 | August 30, 2021 | |
| Converting array to hash | 2 | 934 | June 1, 2021 | |
| How do I build a nested object in Javascript dynamically? | 16 | 43168 | January 25, 2021 | |
| Writing a recursive function to construct tree from nested array of objects | 1 | 2219 | February 2, 2021 | |
| Issue in creating recursive JSON hierarchy tree | 1 | 492 | September 9, 2022 |