JSON Loop
It's a super easy to use tool class helping you loop the deeply nested JSON object.
Fork me on GitHub

Sample Data

Here, we have a JSON object indicating the structure of development team.

Instantiation

First of all, create a json loop object with required params.

findNodeById()

Find one node based on unique id.

findNodes()

Find the nodes based on conditions.

findParent()

Find a parent node based on a given node.

findSiblings()

Find sibling nodes based on a given node.

findAncestors()

Find ancestor nodes based on a given node.

Note

All the predefined running results are shown in the console.