Bugzilla – Bug 21098
[XSLT 3.0] duplicate keys in JSON
Last modified: 2013-04-23 10:09:24 UTC
Tim Bray reminds us here
that some variants of JSON permit an object (map) to have duplicate keys. The spec for parse-json() needs to say something about this.
We reviewed this and decided that when parsing JSON we should allow the input to contain duplicates and if they exist, take the last as defined in ECMAScript.
The agreed rule has been added to the draft spec.