var obj = {"a": "aa","b": "bb"};for(var o in obj){ console.log('Key is ' + o + ';value is ' + obj[o]);}