W3C home > Mailing lists > Public > www-tag@w3.org > November 2013

JSON: remove gap between Ecma-404 and IETF draft

From: Anne van Kesteren <annevk@annevk.nl>
Date: Tue, 12 Nov 2013 15:01:30 +0800
Message-ID: <CADnb78h8AjPcQLOCwNm0Pt3pObh6uFV5+zy0c_YU6B-u4MtY1Q@mail.gmail.com>
To: IETF Discussion <ietf@ietf.org>
Cc: es-discuss <es-discuss@mozilla.org>, www-tag@w3.org
To improve JSON interoperability the IETF should not define a more
restricted version of JSON than defined by Ecma-404.

Parsers exist that can parse "42" today and parsers that cannot parse
"42" today can be meaningfully upgraded to do so too. This would not
break those parsers, unless they depend on parsing 42 as an error,
which is a far more unlikely scenario than parsing it as 42 given
precedence.

(Worth pondering about: what to do about a leading BOM, which
XMLHttpRequest and browsers allow, but neither IETF nor Ecma-404
allow.)


-- 
http://annevankesteren.nl/
Received on Tuesday, 12 November 2013 07:01:57 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:33:22 UTC