Property Iteration in JSON serialization
oliver at apple.com
Tue Oct 13 23:42:28 PDT 2009
> 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