Re: [Json] Last call: JSON charter

Anne van Kesteren <annevk@annevk.nl> Sun, 31 March 2013 15:14 UTC

Return-Path: <annevankesteren@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 A9B2C21F8617 for <json@ietfa.amsl.com>; Sun, 31 Mar 2013 08:14:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.977
X-Spam-Level:
X-Spam-Status: No, score=-2.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_LOW=-1]
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 qtoPw2zRZpOH for <json@ietfa.amsl.com>; Sun, 31 Mar 2013 08:14:33 -0700 (PDT)
Received: from mail-ve0-f173.google.com (mail-ve0-f173.google.com [209.85.128.173]) by ietfa.amsl.com (Postfix) with ESMTP id 043E521F8615 for <json@ietf.org>; Sun, 31 Mar 2013 08:14:32 -0700 (PDT)
Received: by mail-ve0-f173.google.com with SMTP id cy12so1829741veb.18 for <json@ietf.org>; Sun, 31 Mar 2013 08:14:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=y/t0QqzIjGfL+x/osZ9Os0lS8E4eFnzMkH/OAVM68u8=; b=HNhLHuY70FGrztBQAOAYYEZJHnKivvRQRxwvlRwvkWmVTvJyI9jQWtMGIkeKBe4AGI Jpa6fb5Q6ARFS6j0Y3s/E00zljNmJv8B6bvwVx47zJKRx0VpjGnjxMAtOpUiBICrn/qU fBrOAtOive4XnmmVLlMp1SsKtDvBwBHh5V7aP31WJnu7vZsVbiwdmUXXB54dQt3B69VJ 5smPJqM9aG6Fa+WfiY0oupMhk7B2q4EBSy0m6Ro2/dd2HzAmX0TkeaUXnzsF5wEoW/FB NWvjQo74muQerBUar9q4AW1MsavmzCQwBohtdhd2lDceoF0x/48izjalLEuTp2sdTR+5 ue6w==
MIME-Version: 1.0
X-Received: by 10.58.40.9 with SMTP id t9mr6984914vek.10.1364742872537; Sun, 31 Mar 2013 08:14:32 -0700 (PDT)
Sender: annevankesteren@gmail.com
Received: by 10.59.0.102 with HTTP; Sun, 31 Mar 2013 08:14:32 -0700 (PDT)
In-Reply-To: <8BFD5E35-615C-481E-9E6D-63A889E37DE0@vpnc.org>
References: <A723FC6ECC552A4D8C8249D9E07425A70F8FD11E@xmb-rcd-x10.cisco.com> <B196B7A7-2090-4D53-8920-EB131E2D7E11@vpnc.org> <C68CB012D9182D408CED7B884F441D4D1E885D8AAD@nambxv01a.corp.adobe.com> <BDEACF13-A37F-403F-A31D-8C085B9FBCB3@vpnc.org> <CAChr6SyUmk4yO=aSAw+F2N_MWLv=gtkcUTRGPqWiWFsx=3J89A@mail.gmail.com> <CADnb78iu9jKJPV6ichtQxZgbXqBA42r-sLqZ50DHAkLi-yeiAw@mail.gmail.com> <96C52206-9F7D-40D8-A94A-7BDB462AD115@vpnc.org> <CADnb78hee3zBfCOv-Y-tUYp3ssY02uaG8mRwagEZQ_3W6vHuZA@mail.gmail.com> <8BFD5E35-615C-481E-9E6D-63A889E37DE0@vpnc.org>
Date: Sun, 31 Mar 2013 16:14:32 +0100
X-Google-Sender-Auth: 6mDABCOmfnfWN2s_M1V-BQl5qCI
Message-ID: <CADnb78hmieyef5K1Vn79K31ZKMU05aEa6f_=ywYmFBoKX6uB7A@mail.gmail.com>
From: Anne van Kesteren <annevk@annevk.nl>
To: Paul Hoffman <paul.hoffman@vpnc.org>
Content-Type: text/plain; charset="UTF-8"
Cc: "json@ietf.org" <json@ietf.org>
Subject: Re: [Json] Last call: JSON charter
X-BeenThere: json@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "Discussion related to JavaScript Object Notation \(JSON\)." <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: Sun, 31 Mar 2013 15:14:33 -0000

On Sun, Mar 31, 2013 at 4:05 PM, Paul Hoffman <paul.hoffman@vpnc.org> wrote:
> Do you want to just use ECMAScript for the JSON *grammar*, and the IETF gets to specify the *parsing rules*? Or something else?

I'd like if we deferred as much as possible to the ECMAScript variant.
That should probably include parsing, but it does not seem necessary
to make that the entire API that is provided to ECMAScript. Just
parsing JSONText seems sufficient.


> FWIW, the ECMAScript grammar and the RFC 4627 grammar are identical (as far as anyone has said), other than it's harder to figure out the ECMAScript grammar because you have to jump around the ECMAScript document.

That's false.

JSONText is a JSONValue in ECMAScript. In RFC 4627 it's either a
JSONObject or a JSONArray.


--
http://annevankesteren.nl/