title: How to check if a value exists in json array? If match is found, delete the key value pair
body: <p>I have a sharepoint column named AllLinks in which im storing array as:</p>
  
  <pre><code>[{"AllLinks":"Link9","LinkURL":"http://www.Link9.com"},   
   {"AllLinks":"Link6","LinkURL":"http://www.Link6.com"}]
  </code></pre>
  
  <p>How to check if a value exists in an array of objects and if a match is found, delete the key value pair.</p>
  
  <p>For example if the value Link6 matches, delete the entry completely from the array using javascript/jquery. I tried with:</p>
  
  <pre><code>var newA = data.d.results.filter(function (item) return item.AllLinks !== x;});  
  </code></pre>
  
  <p>but <code>item.AllLinks</code> again returns the complete array itself</p>
  
  <p>as AllLinks is a column in my sharepoint list.</p>