Re: [Json] Differences between RFC 4627 or the current ECMAScript specification

R S <sayrer@gmail.com> Wed, 02 October 2013 18:02 UTC

Return-Path: <sayrer@gmail.com>
X-Original-To: json@ietfa.amsl.com
Delivered-To: json@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1765A21F8E3D for <json@ietfa.amsl.com>; Wed, 2 Oct 2013 11:02:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id h7bWXE0iGyo5 for <json@ietfa.amsl.com>; Wed, 2 Oct 2013 11:02:34 -0700 (PDT)
Received: from mail-qa0-x22c.google.com (mail-qa0-x22c.google.com [IPv6:2607:f8b0:400d:c00::22c]) by ietfa.amsl.com (Postfix) with ESMTP id 28E5821F995E for <json@ietf.org>; Wed, 2 Oct 2013 10:59:34 -0700 (PDT)
Received: by mail-qa0-f44.google.com with SMTP id j7so4570758qaq.3 for <json@ietf.org>; Wed, 02 Oct 2013 10:59:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=vdgC1Zv5X6p4x0BKhKfW2vR+vfPiE5Ugic4vZYnj3xM=; b=UO5VzxkoEa3JRszhn+5IUidi4O8Bay9fHqavgezxqnC2s3rAo351w0CSTu9vv5V7wQ ixHUn1qwGqeJD0IXpSNhgOmC0vCSx+YgBVpVhUV/zM3kut/kqJjce00mktDi2D03kgAG 2yl+oWAY9BPN7R0rk/7YJDYQhBQIdu8LFdwd1vO6LM3gahInI+JFclqqt0hxS4mHl/4O xkqNYJ3wBsGjppstF5UzqRJ2mjVpus5+U7Pvd+YcuFEOizHZbf/R2Ue+boAcKkdV8Vlj byM27ws8FwhUZMUbiCFWCA5lCjS8DZNTg3/NuymP8sTeiTXUAp0+6OpKwbDvnoIMPCIC WjQw==
MIME-Version: 1.0
X-Received: by 10.49.132.233 with SMTP id ox9mr4637989qeb.36.1380736771130; Wed, 02 Oct 2013 10:59:31 -0700 (PDT)
Received: by 10.140.86.147 with HTTP; Wed, 2 Oct 2013 10:59:31 -0700 (PDT)
In-Reply-To: <CAHBU6is2WzCNCwa0PYMM1Hr3Lij0GxWkVtVUan9=JPbvv0YCZg@mail.gmail.com>
References: <BF7E36B9C495A6468E8EC573603ED9411EF1BB0B@xmb-aln-x11.cisco.com> <CAChr6SyznBktmOLpT-EiZ5Nm_0jZ16M0tOo4aZ_jhSDb=HHDqg@mail.gmail.com> <23C96FBA-3419-4C97-A075-462F7443013A@vpnc.org> <CAHBU6is2WzCNCwa0PYMM1Hr3Lij0GxWkVtVUan9=JPbvv0YCZg@mail.gmail.com>
Date: Wed, 02 Oct 2013 10:59:31 -0700
Message-ID: <CAChr6Sw72kxm8qJiDu=XMnARCttQPc5GNRQaXz4Xw9y+6-3=Mg@mail.gmail.com>
From: R S <sayrer@gmail.com>
To: Tim Bray <tbray@textuality.com>
Content-Type: multipart/alternative; boundary="047d7bdc7ffac58ff004e7c5d460"
Cc: Paul Hoffman <paul.hoffman@vpnc.org>, JSON WG <json@ietf.org>
Subject: Re: [Json] Differences between RFC 4627 or the current ECMAScript specification
X-BeenThere: json@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "JavaScript Object Notation \(JSON\) WG mailing list" <json.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/json>, <mailto:json-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/json>
List-Post: <mailto:json@ietf.org>
List-Help: <mailto:json-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/json>, <mailto:json-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Oct 2013 18:02:44 -0000

ECMAScript 5.1 contains JSON:

http://www.ecma-international.org/ecma-262/5.1/#sec-15.12

http://www.ecma-international.org/ecma-262/5.1/#sec-A.8'

- Rob


On Wed, Oct 2, 2013 at 10:20 AM, Tim Bray <tbray@textuality.com> wrote:

> So, I (blush) confess to never having read ECMA-262, which is what 4627
> references.  I thought I’d have a glance; I'm assuming that what I want is:
> http://www.ecma-international.org/publications/files/ECMA-ST-ARCH/ECMA-262,%203rd%20edition,%20December%201999.pdf
>
> It turns out to be nontrivial to isolate the diffs between it and 4627; to
> start with, 262 does not contain any instances of either "JSON" nor "object
> notation”.  I guess if you look at 11.1 and squint your eyes and ignore the
> “this”, Identifier, and (Expression) variants, what’s left over might be
> JSON more or less. Maybe.
>
> So, since the spec is >150 pages, and I’m a JavaScript journeyman at best,
> if there’s going to be a concise list of differences, someone who
> understands that spec is going to have to write it, with references into
> the spec.  I suggest that if we don’t get such a proposal, this is not a
> fatal flaw in RFC4627bis because actually nobody cares.  If someone is
> inclined to do the work, it would improve our charter conformance but I’m
> not sure it would really add much practical value to the spec.
>
>
> On Thu, Sep 26, 2013 at 11:36 AM, Paul Hoffman <paul.hoffman@vpnc.org>wrote:
>
>> On Sep 26, 2013, at 10:31 AM, R S <sayrer@gmail.com> wrote:
>>
>> > Charter:
>> > >
>> > > All differences between RFC 4627 or the current ECMAScript
>> specification > will be documented in the new RFC.
>> >
>> > The ECMAScript specification allows primitives at the root level,
>> specifies exactly how to interpret numbers, and can handle " bit sequences
>> which cannot encode Unicode characters" just fine.
>>
>> <no hat>
>>
>> Based on what we have learned in the last six months, it might be better
>> for this RFC *not* to do what the charter says.
>>
>> - TC39 is actively revising ECMAScript and it is not clear whether the
>> -bis draft of their version will be out first.
>>
>> - Some of what ECMAscript says about JSON is intertwingled with the
>> definition of ECMAscript, such as "exactly how to interpret numbers"
>>
>> I'm no longer sure that a long-lasting RFC interpreting parts of another
>> SDO's spec is a good idea.
>>
>> --Paul Hoffman
>> _______________________________________________
>> json mailing list
>> json@ietf.org
>> https://www.ietf.org/mailman/listinfo/json
>>
>
>
> _______________________________________________
> json mailing list
> json@ietf.org
> https://www.ietf.org/mailman/listinfo/json
>
>


On Wed, Oct 2, 2013 at 10:20 AM, Tim Bray <tbray@textuality.com> wrote:

> So, I (blush) confess to never having read ECMA-262, which is what 4627
> references.  I thought I’d have a glance; I'm assuming that what I want is:
> http://www.ecma-international.org/publications/files/ECMA-ST-ARCH/ECMA-262,%203rd%20edition,%20December%201999.pdf
>
> It turns out to be nontrivial to isolate the diffs between it and 4627; to
> start with, 262 does not contain any instances of either "JSON" nor "object
> notation”.  I guess if you look at 11.1 and squint your eyes and ignore the
> “this”, Identifier, and (Expression) variants, what’s left over might be
> JSON more or less. Maybe.
>
> So, since the spec is >150 pages, and I’m a JavaScript journeyman at best,
> if there’s going to be a concise list of differences, someone who
> understands that spec is going to have to write it, with references into
> the spec.  I suggest that if we don’t get such a proposal, this is not a
> fatal flaw in RFC4627bis because actually nobody cares.  If someone is
> inclined to do the work, it would improve our charter conformance but I’m
> not sure it would really add much practical value to the spec.
>
>
> On Thu, Sep 26, 2013 at 11:36 AM, Paul Hoffman <paul.hoffman@vpnc.org>wrote:
>
>> On Sep 26, 2013, at 10:31 AM, R S <sayrer@gmail.com> wrote:
>>
>> > Charter:
>> > >
>> > > All differences between RFC 4627 or the current ECMAScript
>> specification > will be documented in the new RFC.
>> >
>> > The ECMAScript specification allows primitives at the root level,
>> specifies exactly how to interpret numbers, and can handle " bit sequences
>> which cannot encode Unicode characters" just fine.
>>
>> <no hat>
>>
>> Based on what we have learned in the last six months, it might be better
>> for this RFC *not* to do what the charter says.
>>
>> - TC39 is actively revising ECMAScript and it is not clear whether the
>> -bis draft of their version will be out first.
>>
>> - Some of what ECMAscript says about JSON is intertwingled with the
>> definition of ECMAscript, such as "exactly how to interpret numbers"
>>
>> I'm no longer sure that a long-lasting RFC interpreting parts of another
>> SDO's spec is a good idea.
>>
>> --Paul Hoffman
>> _______________________________________________
>> json mailing list
>> json@ietf.org
>> https://www.ietf.org/mailman/listinfo/json
>>
>
>
> _______________________________________________
> json mailing list
> json@ietf.org
> https://www.ietf.org/mailman/listinfo/json
>
>