Re: [Json] WGLC comment regarding top-level values

Tim Bray <tbray@textuality.com> Fri, 11 October 2013 20:53 UTC

Return-Path: <tbray@textuality.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 2C53511E80F9 for <json@ietfa.amsl.com>; Fri, 11 Oct 2013 13:53:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.062
X-Spam-Level:
X-Spam-Status: No, score=-3.062 tagged_above=-999 required=5 tests=[AWL=-0.086, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 WUyTAFgUy9N7 for <json@ietfa.amsl.com>; Fri, 11 Oct 2013 13:53:28 -0700 (PDT)
Received: from mail-vc0-f170.google.com (mail-vc0-f170.google.com [209.85.220.170]) by ietfa.amsl.com (Postfix) with ESMTP id 4CBAE21F9A5F for <json@ietf.org>; Fri, 11 Oct 2013 13:53:28 -0700 (PDT)
Received: by mail-vc0-f170.google.com with SMTP id lc6so3289436vcb.1 for <json@ietf.org>; Fri, 11 Oct 2013 13:53:27 -0700 (PDT)
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=WnKaC5Do/sYZWZq0UazFAWma5whSntQIpBqvLaic0qI=; b=YNVwosmek+JBf39OTovjv0I5P9sEGqIg+5qfkxhMyKK1FRrV5KosaDubJdGXcGlVap 87s/Lgd7AEDxcJBlgXjVem/IyYaysSJq4eFu/VlxDDpHoP2XsZkeh/WMkCzNj5BvwZSe nJLvqCgxiM9dVaWNA5cOTnAZ+p4Is0+9NX8hHUDPfcDSzAx+XenhkkVYrSnrQmxJQWTE sWctZUa1Oqqmg7XjQWfU0Uvvqs3ih20HL1Z2VWi0d8Gkp6FDCBg7PvmoLB7EeMUdHVnM 7upSdLYQQglNjTaVy3GFlRH8iSGBXjYep4lpYGeVNSnNX0BTuOYALPloNT5G+9v3oic4 omjA==
X-Gm-Message-State: ALoCoQmMTzzU4E8cnZq0ZkIlPg7ULHrvsEkHpy1lH8j9csYV+rA7REN3HqXY65Bv+dfsxgIBlEM0
MIME-Version: 1.0
X-Received: by 10.52.119.198 with SMTP id kw6mr603635vdb.47.1381524807720; Fri, 11 Oct 2013 13:53:27 -0700 (PDT)
Received: by 10.220.174.197 with HTTP; Fri, 11 Oct 2013 13:53:27 -0700 (PDT)
X-Originating-IP: [96.49.81.176]
In-Reply-To: <CAK3OfOiFKky6J41tV1mYMtfajPdptkuDskXrc70kuZmiMyhTEA@mail.gmail.com>
References: <CAK3OfOiFKky6J41tV1mYMtfajPdptkuDskXrc70kuZmiMyhTEA@mail.gmail.com>
Date: Fri, 11 Oct 2013 13:53:27 -0700
Message-ID: <CAHBU6itGc91+nCrODe=OdBWYqYXGivi1wM0di++LTZkQ12dYBw@mail.gmail.com>
From: Tim Bray <tbray@textuality.com>
To: Nico Williams <nico@cryptonector.com>
Content-Type: multipart/alternative; boundary=089e013a1e7a69ba4304e87d4f80
Cc: "json@ietf.org" <json@ietf.org>
Subject: Re: [Json] WGLC comment regarding top-level values
X-BeenThere: json@ietf.org
X-Mailman-Version: 2.1.12
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: Fri, 11 Oct 2013 20:53:33 -0000

Disagree. I think this is adequately covered in the “Specifications of JSON
section”


On Fri, Oct 11, 2013 at 12:33 PM, Nico Williams <nico@cryptonector.com>wrote;wrote:

> Add this to the ABNF in section 2:
>
>    A JSON-text in ECMAScript's version of JSON is any value, with
> optional whitespace.  Note that this is not the form that is intended
> in application/json; parsers of JSON texts -in the context of the
> application/json MIME media type- are free (and expected) to reject
> JSON texts that are not objects or arrays.
>
>       JSON-text-ECMA = ws value ws
>
> Nico
> --
> _______________________________________________
> json mailing list
> json@ietf.org
> https://www.ietf.org/mailman/listinfo/json
>