```
var jsonObj = [
   {
      property1 : "one",
      property2 : "two",
      property3 : "three",
      property4 : [
         {
            name: "nicholas",
            name1: "cage"
         },
         {
            name: "stuart",
            name1: "walker"
         }
      ]
   }
];

var strBuilder = [];

for(var key in jsonObj){
   if (jsonObj.hasOwnProperty(key)) {
       strBuilder.push("Key is " + key + ", value is " + jsonObj[key] + "\n");
   }
}

alert(strBuilder.join(""));

```

I am getting object object when it reached near to property 4,
but I want to access the whole code with a loop.