Objects as Associative Arrays: for loop
<p>Is it possible to loop through a data set of objects as associative arrays?</p>

<p>I have a bunch of JSON data, and would like to loop through all of the data sets and pull out a property in each object. </p>

<p>for example:</p>

<pre><code>for ( var i = 0; i &lt;= 20; i++){
var oblivion = i;
var myObject = new MYobject( oblivion);
oblivionLoader(myObject);
}


function oblivionLoader(myObject)
{
 for ( i = 1; i&lt;=2; i++)
 {
   var changer = myObject.oblivion[i];
   var infoText = GetDetailsText(changer);
   infoText.html(myObject.toString());
 }
}
</code></pre>

<p>If this is possible please show me how. Otherwise I am concluding it is impossible...</p>
