title: javascript : check if JSON object exists in array
body: <p>Thought it would be simple, but it isn't... I'm trying to check if, for example, this json object :</p>
  
  <pre><code>var strs = {
      strprop: "VALUE_A",
      strsub: "VALUE_B",
      subsub: "VALUE_C"
  }
  </code></pre>
  
  <p>exists in an Array called <code>regroup</code>. This test doesn't work :</p>
  
  <blockquote>
  <pre><code>if(strs in regroup) {  //do stuff  }
  </code></pre>
  </blockquote>
  
  <p>Thanks</p>
  
  <p><strong>EDIT</strong></p>
  
  <p><code>regroup</code> has this data:</p>
  
  <pre><code>[
      {
          "strprop": "répond ",
          "strsub": "au besoin suivant :",
          "subsub": "Economiser son carburant."
      },
      {
          "keyword": "coûte cher"
      },
      {
          "strprop": "répond ",
          "strsub": "au besoin suivant :",
          "subsub": "Economiser son carburant."
      },
      {
          "keyword": "carburant pollue"
      }
  ]
  </code></pre>