Thought it would be simple, but it isn't... I'm trying to check if, for example, this json object :
var strs = {
    strprop: "VALUE_A",
    strsub: "VALUE_B",
    subsub: "VALUE_C"
}
exists in an Array called regroup. This test doesn't work :
if(strs in regroup) { //do stuff }
Thanks
EDIT
regroup has this data:
[
    {
        "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"
    }
]
 
     
     
     
    