title: How to convert javascript associative array to json and use later using parseJSON?
body: <p>Look I want to do this:</p>
  
  <pre><code>function MyObject()
  {
    this.attr1;
    this.attr2;
    this.attr3;
  }
  
  var myArray = new Array();
  myArray["a"] = new MyObject();
  myArray["b"] = new MyObject();
  myArray["c"] = new MyObject();
  
  var json_myArray = CONVERT_TO_JSON( myArray ); // Or stringify
  </code></pre>
  
  <p>Finally:</p>
  
  <pre><code>var myOriginalArray = $.parseJSON( json_myArray );
  </code></pre>
  
  <p>The myOriginalArray and myArray will be identical, including the keys (myOriginalArray["a"])</p>