Property Iteration in JSON serialization
bkardell at gmail.com
Tue Oct 13 23:44:40 PDT 2009
Awesome - just the answer I was looking for Oliver - thanks!
On Tue, Oct 13, 2009 at 11:42 PM, Oliver Hunt <oliver at apple.com> wrote:
>> But I guess your example gets to the gist (ironically, given the url)
>> of the question: It seems to be implying that there is a specific
>> (insertion) order maintained by the instance itself and reflected in
>> iteration... The difference being something more like a TreeMap than a
>> HashMap - but is that part of the specification? I thought that it
>> specifically wasn't.
> All ES implementations are required to enumerate object properties in the
> order of insertion, regardless of internal representation, and the JSON
> object definition defines the replacer execution in terms of that standard
> object enumeration.
>> es-discuss mailing list
>> es-discuss at mozilla.org
More information about the es-discuss