Re: [Json] Consensus on JSON-text (WAS: JSON: remove gap between Ecma-404 and IETF draft)

Tim Bray <tbray@textuality.com> Thu, 28 November 2013 00:13 UTC

Return-Path: <tbray@textuality.com>
X-Original-To: ietf@ietfa.amsl.com
Delivered-To: ietf@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DD2E41AE03B for <ietf@ietfa.amsl.com>; Wed, 27 Nov 2013 16:13:42 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level:
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=unavailable
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DGzuZlqecK0k for <ietf@ietfa.amsl.com>; Wed, 27 Nov 2013 16:13:41 -0800 (PST)
Received: from mail-vb0-f46.google.com (mail-vb0-f46.google.com [209.85.212.46]) by ietfa.amsl.com (Postfix) with ESMTP id 0D55B1ADED6 for <ietf@ietf.org>; Wed, 27 Nov 2013 16:13:40 -0800 (PST)
Received: by mail-vb0-f46.google.com with SMTP id i12so5330585vbh.19 for <ietf@ietf.org>; Wed, 27 Nov 2013 16:13:40 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=fAcbBKAw/W9zP8br9rJ7JmKighsJaezqSZ4z5Q7Svyc=; b=MG/jngZXzuZyM/3cz/id/uA71T2h7q1GI/aaFwFokWiiS95w2OiMdKxRn8cDHvekCT RIvbqdyhzJO8qbDABZ/0GnkyrVcK8XhApj5bD5UREgVD+U4y3d35OYkxyJlMj8XuGgyJ iabk7M8sJ9LpTPuphidCiEL3ygHnvIGUu+NsHipBMMYiG7fxmpJsi2f7aTa4TXTVgwcL tiX4MAGj/wzSA3cgmC4N5PwkgL2FzjOfnrU7vFcGGiVReqyBjRIfRxbT8mkYl0qhYC33 CSS59OmfiDSdrnuZy8y4HiAJHGfL3rrpEwXAvEhRVpbAi8QODEkj+Oh8Hu6Le1ObJ9oN iK4g==
X-Gm-Message-State: ALoCoQn6FxCYIpzZn2c0uRxiKa2J+jZpbfIchWeois8Xhx1W3To1F1Q72To9vSg+2NzZoJEH8G4K
MIME-Version: 1.0
X-Received: by 10.52.164.203 with SMTP id ys11mr1768506vdb.37.1385597620098; Wed, 27 Nov 2013 16:13:40 -0800 (PST)
Received: by 10.220.198.199 with HTTP; Wed, 27 Nov 2013 16:13:40 -0800 (PST)
X-Originating-IP: [96.49.81.176]
In-Reply-To: <C93F89AD-81D2-4489-ADC4-AB05A5B10883@cisco.com>
References: <CADnb78h8AjPcQLOCwNm0Pt3pObh6uFV5+zy0c_YU6B-u4MtY1Q@mail.gmail.com> <AA45B3C6-1DC5-4B1E-8045-C9FE76022584@vpnc.org> <C93F89AD-81D2-4489-ADC4-AB05A5B10883@cisco.com>
Date: Wed, 27 Nov 2013 16:13:40 -0800
Message-ID: <CAHBU6itgE9=WP+c0oXt1W647b1zz+N6+4ZqRa63Ve91TUsGzTA@mail.gmail.com>
Subject: Re: [Json] Consensus on JSON-text (WAS: JSON: remove gap between Ecma-404 and IETF draft)
From: Tim Bray <tbray@textuality.com>
To: "Matt Miller (mamille2)" <mamille2@cisco.com>
Content-Type: multipart/alternative; boundary="001a11c2cc40f2e76104ec319516"
Cc: es-discuss <es-discuss@mozilla.org>, IETF Discussion <ietf@ietf.org>, "www-tag@w3.org" <www-tag@w3.org>, JSON WG <json@ietf.org>
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ietf/>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 28 Nov 2013 00:13:43 -0000

To do this, I think the draft requires these changes:

- Remove the trailing section of section 1.2, starting with “ECMAscript 5.1
enumerates...” [because the difference no longer exists]

- In section 2:

-- remove “A JSON text is a serialized object or array.”

-- Insert: “A JSON text is a serialized value.  Note that certain previous
specifications of JSON constrained a JSON text to be an object or an array.
 Implementations which generate only objects or arrays where a JSON text is
called for will be interoperable in the sense that all implementations will
accept these as conforming JSON texts.”

-- Change the JSON-text production to read:

JSON-text  = value






On Fri, Nov 22, 2013 at 10:21 AM, Matt Miller (mamille2) <mamille2@cisco.com
> wrote:

> There appears to be consensus to change JSON-text to allow for any JSON
> value -- not just object / array -- while noting that object or array as
> the top-level is the most interoperable.
>
> We will ask the Document Editor to make this change to
> draft-ietf-json-rfc4627bis.
>
>
> - Paul Hoffman and Matt Miller
>
>
> _______________________________________________
> json mailing list
> json@ietf.org
> https://www.ietf.org/mailman/listinfo/json
>
>