[Developers] query API - overuse and sanctions?

John Giannandrea jg at metaweb.com
Sat May 9 18:52:30 UTC 2009


Nick Thompson wrote:
> Kurt's reading of the RFC is correct: having multiple
> properties with the same name is useless and ambiguous
> but not actually "invalid" JSON.  The sentence in the MQL
> manual should be reworded.

I agree with that.  To beat a dead horse further, JSON is based on  
ECMA-262 which does allow repeated names and specifies that the last  
name wins.   The ecmascript 5 draft has a strict mode that would  
disallow it, but by default its compatible with ES3.

-jg



More information about the Developers mailing list