jQuery.parseJSON not parsing if JSON string has items with the same name
<p>I am playing with the 1.4.1 jquery.parseJSON method and looks like it would be a good fit for my project which is iterating over a JSON string that is loaded from C#. However, the JSON that gets loaded is an entity object and they have generic collections inside of them and thus creates the same name in the JSON string.  For example:</p>

<p>This works because theres only item with a name all to itself:</p>

<pre><code>var obj = jQuery.parseJSON('{\"ItemID\":1014470}');
alert(obj.ItemID);
</code></pre>

<p>This works but only gets the last item in the JSON string:</p>

<pre><code>var obj = jQuery.parseJSON('{\"ItemID\":1014470,\"ItemID\":134564879898798}');
alert(obj.ItemID);
</code></pre>

<p>So I thought separating the JSON string as follows would solve it:</p>

<pre><code>var obj = jQuery.parseJSON('{\"ItemID\":1014470},{\"ItemID\":134564879898798}');
</code></pre>

<p>Which of course does nothing</p>

<p>I was thinking that you could do something like this:</p>

<pre><code>jQuery.each(obj, function(){
     // get each ItemID ???
});
</code></pre>

<p>Is there a better way to do something like this?</p>

<p>Currently we use these ugly javascript arrays with lots and lots of looping methods, I was hoping jQuery could provide a cleaner way of iterating over a JSON string.</p>
