emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: two json.el bugs


From: Philipp Stephani
Subject: Re: two json.el bugs
Date: Sun, 28 May 2017 18:47:27 +0000



Drew Adams <address@hidden> schrieb am So., 28. Mai 2017 um 03:30 Uhr:
> We can't simply serialize/desterialize alists in key order
> because the order is reversed in Emacs. (In Emacs alists,
> if there are duplicates, the first one wins,
> in JSON the last one wins.)
  ^^^^^^^^^^^^^^^^^^^^^^^^^

If you're talking about JSON objects then no, no particular
meaning or behavior is defined for duplicate fields (keys)
in a JSON object.

A given application that handles JSON object is free to
act as you say.  And it is free to act otherwise.

Please see Theresa's initial post why this matters. 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]