Re: [Json] Last call: JSON charter

Anne van Kesteren <annevk@annevk.nl> Sun, 31 March 2013 17:42 UTC

Return-Path: <annevankesteren@gmail.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 4EB0E21F84E3 for <json@ietfa.amsl.com>; Sun, 31 Mar 2013 10:42:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.977
X-Spam-Level:
X-Spam-Status: No, score=-2.977 tagged_above=-999 required=5 tests=[AWL=-0.000, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 yKNH3ZXrZLyJ for <json@ietfa.amsl.com>; Sun, 31 Mar 2013 10:42:28 -0700 (PDT)
Received: from mail-ve0-f173.google.com (mail-ve0-f173.google.com [209.85.128.173]) by ietfa.amsl.com (Postfix) with ESMTP id 54A8E21F84B0 for <json@ietf.org>; Sun, 31 Mar 2013 10:42:28 -0700 (PDT)
Received: by mail-ve0-f173.google.com with SMTP id cy12so1912444veb.32 for <json@ietf.org>; Sun, 31 Mar 2013 10:42:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=CvIhNoWJa/mvSKuFIBn6UFWCDNjQvWlvLMCehuvZRuU=; b=bc1ZB3iAu9sp1oeN2sd+r28HwzwAUwAMucy4b4F3MYm4KkOoSclHD7+mnuvqMNUv2K uCILSdTzkNDXqZLvVfn7bPCy2AuGFxFDysbkXNhXGHmFO9m/km9PVKxiXF91o24NJFDg r3FDd/yQUq9NfEISWE5qfVEx5GZGM8EaZeWMqfksyNNfiCIU5P1chfcshby58z/Kz+R5 emEe1+HtTdMReXGb1rkUQOAyf1EQoio/xggAEJSQNCyBBMSsZHEvSbdH+QzqMUFp9ARc Zhu5IfqqAMT67uBsLTgnostMDZnxw73g1xxNmtFmjtKn9yh9kZM2zsLYEzfzpJLbpO6C lEJg==
MIME-Version: 1.0
X-Received: by 10.59.3.9 with SMTP id bs9mr7181018ved.38.1364751747217; Sun, 31 Mar 2013 10:42:27 -0700 (PDT)
Sender: annevankesteren@gmail.com
Received: by 10.59.0.102 with HTTP; Sun, 31 Mar 2013 10:42:27 -0700 (PDT)
In-Reply-To: <8C44CDA6-7523-4420-8170-AD7E91722C9F@vpnc.org>
References: <A723FC6ECC552A4D8C8249D9E07425A70F8FD11E@xmb-rcd-x10.cisco.com> <B196B7A7-2090-4D53-8920-EB131E2D7E11@vpnc.org> <C68CB012D9182D408CED7B884F441D4D1E885D8AAD@nambxv01a.corp.adobe.com> <BDEACF13-A37F-403F-A31D-8C085B9FBCB3@vpnc.org> <CAChr6SyUmk4yO=aSAw+F2N_MWLv=gtkcUTRGPqWiWFsx=3J89A@mail.gmail.com> <CADnb78iu9jKJPV6ichtQxZgbXqBA42r-sLqZ50DHAkLi-yeiAw@mail.gmail.com> <96C52206-9F7D-40D8-A94A-7BDB462AD115@vpnc.org> <CADnb78hee3zBfCOv-Y-tUYp3ssY02uaG8mRwagEZQ_3W6vHuZA@mail.gmail.com> <8BFD5E35-615C-481E-9E6D-63A889E37DE0@vpnc.org> <CADnb78hmieyef5K1Vn79K31ZKMU05aEa6f_=ywYmFBoKX6uB7A@mail.gmail.com> <8C44CDA6-7523-4420-8170-AD7E91722C9F@vpnc.org>
Date: Sun, 31 Mar 2013 18:42:27 +0100
X-Google-Sender-Auth: M8Nj9y0w3T6EJJbW_kQp-UgAFqg
Message-ID: <CADnb78jLTx2A5iymENW+hxuHXaT+uWK6j4hdUuWEjjqDyNz0+A@mail.gmail.com>
From: Anne van Kesteren <annevk@annevk.nl>
To: Paul Hoffman <paul.hoffman@vpnc.org>
Content-Type: text/plain; charset="UTF-8"
Cc: "json@ietf.org" <json@ietf.org>
Subject: Re: [Json] Last call: JSON charter
X-BeenThere: json@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "Discussion related to JavaScript Object Notation \(JSON\)." <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: Sun, 31 Mar 2013 17:42:29 -0000

On Sun, Mar 31, 2013 at 6:38 PM, Paul Hoffman <paul.hoffman@vpnc.org> wrote:
> Hrm. I consider "a JSON text is X" to be a parser rule, not a grammar rule, but I can see that it could be either.

I'm not really sure how you distinguish the two to be honest. In any
event, a resource such as

Content-Length:5
Content-Type: application/json

false

will not result in a parse error when accessed via XMLHttpRequest's
JSON mechanism (it will give you the boolean value false).


--
http://annevankesteren.nl/