[Top][All Lists]

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

RE: two json.el bugs

From: Drew Adams
Subject: RE: two json.el bugs
Date: Sat, 27 May 2017 18:30:46 -0700 (PDT)

> 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.

reply via email to

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