[Json] WGLC comment regarding top-level values

Nico Williams <nico@cryptonector.com> Fri, 11 October 2013 19:33 UTC

Return-Path: <nico@cryptonector.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 37B7511E817F for <json@ietfa.amsl.com>; Fri, 11 Oct 2013 12:33:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.162
X-Spam-Level:
X-Spam-Status: No, score=-2.162 tagged_above=-999 required=5 tests=[AWL=-0.185, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
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 agZZF1WyNk0X for <json@ietfa.amsl.com>; Fri, 11 Oct 2013 12:33:40 -0700 (PDT)
Received: from homiemail-a111.g.dreamhost.com (caiajhbdccah.dreamhost.com [208.97.132.207]) by ietfa.amsl.com (Postfix) with ESMTP id 5615011E8179 for <json@ietf.org>; Fri, 11 Oct 2013 12:33:40 -0700 (PDT)
Received: from homiemail-a111.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a111.g.dreamhost.com (Postfix) with ESMTP id 408342005D906 for <json@ietf.org>; Fri, 11 Oct 2013 12:33:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:date:message-id:subject:from:to:content-type; s= cryptonector.com; bh=gWg33q65gL1yxabhOdU0QKA/xgo=; b=ynEsbGeqgfo f0yQTw4UCwvD0DogArxDgCGrIDmfFtH4jKPj3HeyHU5p6Q0J0Qkwy55KA2b+Z9WQ UmcKrqRuHE+s8t4b5uC1EcGfPfr8RZ8dCbu++SIEFonhXCZz/ct04Q3kkRsISzJH Sr+KjBg1nzhAATTOfic+r4gsZJylk2Mo=
Received: from mail-we0-f180.google.com (mail-we0-f180.google.com [74.125.82.180]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a111.g.dreamhost.com (Postfix) with ESMTPSA id DF4282005D907 for <json@ietf.org>; Fri, 11 Oct 2013 12:33:38 -0700 (PDT)
Received: by mail-we0-f180.google.com with SMTP id q59so4608567wes.25 for <json@ietf.org>; Fri, 11 Oct 2013 12:33:37 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:date:message-id:subject:from:to:content-type; bh=ygc4Hleb96XFu2nBAIKQgrxZ070a2Zvsf6IxdqBvRRQ=; b=KQDPfb9PPqo4Hebrk/7Z6ES/1qLN8NL5x2GUt0JM3PrGBdP1LJKvwrq9nfGfybnS1k xTxeBZvFcFYgtGRo1yIuLbNheX16aTKr+sJQkkHX3NxTnVpNlY+plGztXLCH3XuxqVbt yHMDb8Ap5o3ethGuvYD+tqhCghUy1NntRct3/FQ5kZjOtJ3vJQcyu/0GcRh98vk4wUk0 ORAxdHw64dvr2pqNpINCdcACeZmNfabEg6goCBQ4xd/QNqZK3eqr7J2vsiQfoMULPgpJ 5D15V9hG7lKNwqpzP5JgvlZqGpfyQdo4+QUzZoFIZ8YrCr0tc7omQtiBTERqBBTNN7/U 7Nhw==
MIME-Version: 1.0
X-Received: by 10.194.20.202 with SMTP id p10mr15794479wje.39.1381520017149; Fri, 11 Oct 2013 12:33:37 -0700 (PDT)
Received: by 10.216.165.5 with HTTP; Fri, 11 Oct 2013 12:33:37 -0700 (PDT)
Date: Fri, 11 Oct 2013 14:33:37 -0500
Message-ID: <CAK3OfOiFKky6J41tV1mYMtfajPdptkuDskXrc70kuZmiMyhTEA@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: "json@ietf.org" <json@ietf.org>
Content-Type: text/plain; charset=UTF-8
Subject: [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 19:33:45 -0000

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