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

Alex Russell <slightlyoff@google.com> Thu, 28 November 2013 01:01 UTC

Return-Path: <slightlyoff@google.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 E9C1E1AE069 for <ietf@ietfa.amsl.com>; Wed, 27 Nov 2013 17:01:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.379
X-Spam-Level:
X-Spam-Status: No, score=-1.379 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=no
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 PN17N6zL_ykK for <ietf@ietfa.amsl.com>; Wed, 27 Nov 2013 17:01:02 -0800 (PST)
Received: from mail-qe0-x230.google.com (mail-qe0-x230.google.com [IPv6:2607:f8b0:400d:c02::230]) by ietfa.amsl.com (Postfix) with ESMTP id 16BDC1AE070 for <ietf@ietf.org>; Wed, 27 Nov 2013 17:01:00 -0800 (PST)
Received: by mail-qe0-f48.google.com with SMTP id gc15so8355555qeb.35 for <ietf@ietf.org>; Wed, 27 Nov 2013 17:01:00 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=7+NsX+VtV6X4f5LBjFwEpbkkYOy6GgOBo2ofq3pfvzQ=; b=eEwLJ9NJiSn97R8ikAVuxIBiLTu7Jl4QRhuzEve51plruyl637B5KQMO0pokzy+K7c X8Ru+/zt6oj7eoc3gJuBut0MNo1qSCWgOVZKyBtKlo0s1Ia4UWVNIgyO/CHcce9/k0iQ 4v51y7KTB91fVmC4EgABeEULlocjtvZZ6h6tUcbKSvB94Le7qsMmFsZ0Y/KXGScWpDOo v5ohe9nF+4VYN2U2VxErMMapr+/MTLjMpccFZ5vrZJcUwiFFSU6u0m9eq357ui0nXvkK IzMRHS0V6b8IaZ7BQNVMKi4srthYIrk2v72t87ac4oQ3TrKzWde13noN6p+xQdcLgWtL snLg==
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:from:date :message-id:subject:to:cc:content-type; bh=7+NsX+VtV6X4f5LBjFwEpbkkYOy6GgOBo2ofq3pfvzQ=; b=ZajaR3v1lhbdkLujccwoDxFEcT8RoBx60JR1ZzYLjLATk/13G70jNN/VPSCiSCAXEi f+b0C4m8BxLfKp2ywXYtKSgmg9PjN+rPwdxppDcKdsSkf5MlhUs0BHddiF5iNCxgh5uW mA4+TTF15hLajngtWnmZlcxuBeContn1NX1NsiXOMI3CtGje2/V703B4zirTrA9vtmnv VGsezrxiU8kxjtMTr+Ou4NHK1CEN7nSc2SbJ/oKsuA2urchDA0jYkSu5+lNp8yPnqH+r Kw2qNuP2MYg4go1MUT0TGb7sJD/UCbJygvFHWZkTNGcaN8atWNG5TDq1NQUi2e6BOm+Z 1PMA==
X-Gm-Message-State: ALoCoQlwvmrdFxSJzChQUFfl5d2gOMPGNvqh2aQx8tefPDlrWhzbEARHWHZkSyDSG91Bw9aoVE0FBbajvO8SNqzOeX8FwMMGbYNlX5SNzPJQ+1k2B2yOlg/4m8XPy+3is3hz3aa3Q8Ws3KFItGfvg8qaEneuyeRHxr22JwRobO4toIvSunUhUgeuvCgfcq94hw6MGZOj0MYA
X-Received: by 10.49.25.16 with SMTP id y16mr72043010qef.20.1385600460119; Wed, 27 Nov 2013 17:01:00 -0800 (PST)
MIME-Version: 1.0
Received: by 10.96.138.195 with HTTP; Wed, 27 Nov 2013 17:00:30 -0800 (PST)
In-Reply-To: <CAHBU6itgE9=WP+c0oXt1W647b1zz+N6+4ZqRa63Ve91TUsGzTA@mail.gmail.com>
References: <CADnb78h8AjPcQLOCwNm0Pt3pObh6uFV5+zy0c_YU6B-u4MtY1Q@mail.gmail.com> <AA45B3C6-1DC5-4B1E-8045-C9FE76022584@vpnc.org> <C93F89AD-81D2-4489-ADC4-AB05A5B10883@cisco.com> <CAHBU6itgE9=WP+c0oXt1W647b1zz+N6+4ZqRa63Ve91TUsGzTA@mail.gmail.com>
From: Alex Russell <slightlyoff@google.com>
Date: Wed, 27 Nov 2013 17:00:30 -0800
Message-ID: <CANr5HFVhG5SNhW4yJxDicvFman94FaNi8UZHhcpQbH6AG6pfQg@mail.gmail.com>
Subject: Re: [Json] Consensus on JSON-text (WAS: JSON: remove gap between Ecma-404 and IETF draft)
To: Tim Bray <tbray@textuality.com>
Content-Type: multipart/alternative; boundary="047d7b62224439fd9d04ec323f68"
X-Mailman-Approved-At: Mon, 02 Dec 2013 08:09:11 -0800
Cc: es-discuss <es-discuss@mozilla.org>, JSON WG <json@ietf.org>, IETF Discussion <ietf@ietf.org>, "www-tag@w3.org" <www-tag@w3.org>, "Matt Miller (mamille2)" <mamille2@cisco.com>
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 01:01:04 -0000

Will you also be citing ECMA-404 normatively to avoid this sort of
divergence in the future?


On Wed, Nov 27, 2013 at 4:13 PM, Tim Bray <tbray@textuality.com> wrote:

> 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
>>
>>
>