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

Re: [Json] FYI ECMA, W3C, IETF coordination on JSON

From: Tim Bray <tbray@textuality.com>
Date: Tue, 8 Oct 2013 11:32:13 -0700
Message-ID: <CAHBU6it5Gw-JDWZk1AdqoCe_i-jqwUu3eMLrbZZe1VC3uVFkuw@mail.gmail.com>
To: "Peter F. Patel-Schneider" <pfpschneider@gmail.com>
Cc: John Cowan <cowan@mercury.ccil.org>, Allen Wirfs-Brock <allen@wirfs-brock.com>, Larry Masinter <masinter@adobe.com>, "www-tag@w3.org" <www-tag@w3.org>, JSON WG <json@ietf.org>
On the other hand, the opening paragraph of section 9 makes sure that
you’re really clear about which characters may and may not be placed
between quotation marks.


On Tue, Oct 8, 2013 at 11:26 AM, Peter F. Patel-Schneider <
pfpschneider@gmail.com> wrote:

> The paragraph on numbers, see below, seems rather dangerous, as well as
> being incorrect.  The paragraph on strings, also below, ignores all the
> problems with escaped code units that do not represent a Unicode code point.
>
> peter
>
>
> On 10/08/2013 09:42 AM, John Cowan wrote:
>
>> Allen Wirfs-Brock scripsit:
>>
>>  The draft was approved by a letter ballot of the Ecma General Assembly.
>>>  It is now available as Ecma-404:
>>>
>> Almost all of it is derived directly from the RFC, with some editorial
>> cleanup.  The Introduction, however, is new.  I reproduce it here in case
>> the Editor wishes to mine it for anything:
>> [...]
>>
>>
>>      JSON is agnostic about numbers. In any programming language,
>>      there can be a variety of number types of various capacities
>>      and complements, fixed or floating, binary or decimal. That
>>      can make interchange between different programming languages
>>      difficult. JSON instead offers only the representation of numbers
>>      that humans use: a sequence of digits. All programming languages
>>      know how to make sense of digit sequences even if they disagree
>>      on internal representations. That is enough to allow interchange.
>>
>>      JSON text is a sequence of Unicode code points. JSON also depends
>>      on Unicode in the hex numbers used in the \u escapement [sic]
>>      notation.
>> [...]
>>
>
>
Received on Tuesday, 8 October 2013 18:32:39 UTC

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