incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jens Alfke <>
Subject Re: Duplicate fields in documents
Date Thu, 20 Feb 2014 06:52:53 GMT

On Feb 19, 2014, at 8:45 PM, Mark Hahn <> wrote:

>> The Erlang JSON parser is already being weird and nonstandard in
>> preserving the order of keys
> Don't all javascript engines do the same?  The one exception I can think of
> is in chrome when you spell out a number, i.e. "one".

No; nothing I know of but Erlang preserves key order. (I think it's because Erlang parses
JSON to a linked list of key-value pairs, while everyone else uses a hash-table.)

View raw message