title: Jackson json : traversing a json tree node by node
body: <p>I have numerous text files containing json data and I'm using new ObjectMapper().readTree() method in Jackson json parser to parse the json data to DOM trees.</p>
  
  <p>Let's say now I now have two DOM trees - t1 and t2. Each tree will have many children nodes, which in turn will have many children nodes.</p>
  
  <p>What I'd like to do is traverse the tree t1 node by node and compare every node in t1 with every node in t2.
  I know Jackson json parser allows me to query specific nodes, but how do I traverse an entire tree node by node?</p>