What you have is NOT JSON. It is JavaScript defining an Object literal, commonly referred to as a JS object. JSON (JavaScript Object Notation) is a string that can be parsed to produce an object literal.
For your JS object (which has ample online documentation), you can iterate over the object keys by:
var a={"tag1":"Stocks","acctType1":"individual","compare1":"contains","match_name1":"scrapedaccounttype","text1":"dog ","tag2":"Stocks","acctType2":"individual","compare2":"contains","match_name2":"scrapedaccounttype","text2":"cat"}
Object.keys(a).forEach(function (k) {
console.log(a[k]);
});
Or:
for (var key in a) {
if (a.hasOwnProperty(key)) {
console.log(a[k]);
}
}