title: Compare two Json objects with same keys and push into array- java
body: <p>i have two json objects which has same keys</p>
  
  <pre><code>obj1 = {id:1,name:abc,rate:50}
  obj2 = {id:1,name:abc,rate:100}
  </code></pre>
  
  <p>i want to compare two objs and push the keys into an array which have been modified</p>