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: json@ietfa.amsl.com
Delivered-To: json@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 34CF31AE073 for <json@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 y6MuS_LBnx9d for <json@ietfa.amsl.com>; Wed, 27 Nov 2013 17:01:01 -0800 (PST)
Received: from mail-qa0-x22f.google.com (mail-qa0-x22f.google.com [IPv6:2607:f8b0:400d:c00::22f]) by ietfa.amsl.com (Postfix) with ESMTP id 16B401AE069 for <json@ietf.org>; Wed, 27 Nov 2013 17:01:00 -0800 (PST)
Received: by mail-qa0-f47.google.com with SMTP id w5so173438qac.20 for <json@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=joPR14E7z3Flp+S78UUo+w6/hYHyymXIed7FUx0g8p82c8ApZjdPVHFyIVGrN4B5Nu Bi+mwEH0O8WufizyVNFRdeS92dJTBc1bTg3UU2zTpKktTcC44IQGdTbQGrl0iepJIJls MxvWEQBUUiHfJ+0Xj3TnXG/8/pIF7a/PzhhOYM5VfIrv5jPOz1xAL3OkNNJG4ubaPaJn WVRroVtGqO6uYq1QsxOaSlYS54naMixajPv/yRZNPRt3y0v4//5gk/mTiSGb7hKK4qMg O34AAHjSjslhgQl3Chh/lFclB2GTkMJbIZaszGvzhMxV6cy8X76PrwxY+6bk8HbIspSw USDg==
X-Gm-Message-State: ALoCoQmJBlWGbHkPifBe5j7Rln7CA0ysHbfu/1uF//ca+w7yri5MjriJ+fuIGDkBTJDw1ihY2lugcjLY4w7WovcuvkcZpT3QrMFCUn2N4PA9038DOSwGzLTnaPppx3xRjgOVZbKzaMAJfii2lEqV9swZ8npZSujVD0dQ9wWhi3iHx8bhdXm06gQIcacy36w7vUO9jZDz95+I
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>
To: Tim Bray <tbray@textuality.com>
Content-Type: multipart/alternative; boundary="047d7b62224439fd9d04ec323f68"
X-Mailman-Approved-At: Wed, 27 Nov 2013 19:22:30 -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>
Subject: Re: [Json] Consensus on JSON-text (WAS: JSON: remove gap between Ecma-404 and IETF draft)
X-BeenThere: json@ietf.org
X-Mailman-Version: 2.1.15
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: Thu, 28 Nov 2013 01:01:03 -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
>>
>>
>