Answer the question
In order to leave comments, you need to log in
Nestable - how to iterate over JSON to build a hierarchy?
Here is the JSON:
[{"id":2},{"id":3,"children":[{"id":5},{"id":6},{"id":7}]},{"id ":8,"children":[{"id":9},{"id":10}]},{"id":12,"children":[{"id":14}]},{ "id":13},{"id":15}]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question