title: How to compare two json arrays using node.js
body: <pre><code>json1 = 
  [{
          "name": "apple"
  },
  {
          "name": "mango"
  },
  {
          "name": "orange"
  }]
  
  json2 = [{
          "name": "apple"
  },
  {
          "name": "mango"
  }]
  </code></pre>
  
  <p>I need to compare the two jsons and find out the mismatch between two json-arrays. The expected result is obviously orange. Would you please anyone help me getting this done.</p>