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: 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 D50711AE01A for <json@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=ham
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 Lc1ioE5mpnN4 for <json@ietfa.amsl.com>; Wed, 27 Nov 2013 16:13:41 -0800 (PST)
Received: from mail-vb0-f47.google.com (mail-vb0-f47.google.com [209.85.212.47]) by ietfa.amsl.com (Postfix) with ESMTP id 133821AE013 for <json@ietf.org>; Wed, 27 Nov 2013 16:13:40 -0800 (PST)
Received: by mail-vb0-f47.google.com with SMTP id x11so5439814vbb.34 for <json@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=UaGl0yb9tZf70JkGsY4RIPkyG0a1zNB8mj6f78y98Im0qbIXtTOhZVWH2L4jr1Thup WRuOQ+gUNXt4cS3K9v4/z8fBpauG+KyK05DkLNDGGBsa5UWH2IS2oOORs7hr5HfAHsmu sdzV/lMI4OcrXe/r1irEoztWR7yQ7qPt4YdY3GfRtblJA+HJtLJDPN1Ozuf31OBa2ZM5 Hh+xSoDcS4KwYPtsI8FDvJ/P3RRqHTq9XS5oBogm3CdJXYlHDubLZjfquMwFPTgOjq7g 1pkYpfqGGSSUlS9cSD6xSqdEwaU1s+/PHFWCe1HNQaI9iee21UFDogH5v5gOEcRRtWLg 9Q8g==
X-Gm-Message-State: ALoCoQloZhiDHPpl2m20LNYrACR96H8HAvDLtUYHB/Y6B2DOdKxWSM0D7HOmMvRXyAP1L77Z5lPj
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>
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>
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 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
>
>