Re: [Json] Proposed minimal change for strings

Jorge <jorge@jorgechamorro.com> Fri, 05 July 2013 20:36 UTC

Return-Path: <jorge@jorgechamorro.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 D0B8821F9F71 for <json@ietfa.amsl.com>; Fri, 5 Jul 2013 13:36:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level:
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 Nu0JWhBGenvp for <json@ietfa.amsl.com>; Fri, 5 Jul 2013 13:36:35 -0700 (PDT)
Received: from mail-wg0-f52.google.com (mail-wg0-f52.google.com [74.125.82.52]) by ietfa.amsl.com (Postfix) with ESMTP id BE73021F9EE8 for <json@ietf.org>; Fri, 5 Jul 2013 13:36:34 -0700 (PDT)
Received: by mail-wg0-f52.google.com with SMTP id b12so2288218wgh.19 for <json@ietf.org>; Fri, 05 Jul 2013 13:36:33 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=SYY1Ng4gV9lyaUJNXpf2/rj2y3q8Hj9BLgFT0/6acss=; b=ONscuXROU0lwoYzi+Z0fDkQrh7TSv7u+aB6szE+vQCYdGzK0fE9zWWGtHIXXccKrOY fP8Kao6T/gMiuMoKNYJCas7SPM95CCh2LhhTf8OiYQzGjDBNvOUgBC31JAV8OhdzccVo QgRJcLTG6qYiAuwSzSO6B0P5QTckzf4AymU1jtKQs8UePN/RAaPtxnkWwt3j3juFLBAZ eGEcogTbNs/TBYvD/YsVsS6w86fJouO4JmBMWuK/Ou5+QutQIK6IErGsn3a1/D8nnWLg IVjaO9NvPHRWHdkfx/A2Qq/cwBny/4rTf7kr/Ru+hR9NnfIM9qlJAasT99mFLlg1q6zf s1fw==
X-Received: by 10.180.102.37 with SMTP id fl5mr24259795wib.52.1373056593906; Fri, 05 Jul 2013 13:36:33 -0700 (PDT)
Received: from [192.168.10.50] (142.Red-79-145-235.dynamicIP.rima-tde.net. [79.145.235.142]) by mx.google.com with ESMTPSA id u9sm11577647wif.6.2013.07.05.13.36.32 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 05 Jul 2013 13:36:33 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v1085)
Content-Type: text/plain; charset="us-ascii"
From: Jorge <jorge@jorgechamorro.com>
In-Reply-To: <CA+mHimNZYuyFVendgBnKgzjzBpkez+g5UW=qJ8kgy5dOyBAuww@mail.gmail.com>
Date: Fri, 05 Jul 2013 22:36:29 +0200
Content-Transfer-Encoding: 7bit
Message-Id: <6B216380-37C5-46FF-8160-C20B356EF32F@jorgechamorro.com>
References: <A723FC6ECC552A4D8C8249D9E07425A70FC7E0AD@xmb-rcd-x10.cisco.com> <AD49900E-7DC6-42B1-AFE1-B7909785585F@jorgechamorro.com> <CA+mHimNZYuyFVendgBnKgzjzBpkez+g5UW=qJ8kgy5dOyBAuww@mail.gmail.com>
To: Stephen Dolan <stephen.dolan@cl.cam.ac.uk>
X-Mailer: Apple Mail (2.1085)
X-Gm-Message-State: ALoCoQnmLSNgn8KX9KAOoiencR4dhzr/ABFyZuCs5fm+UhGkfdN8EqQ1jC1eE2flKOVIecDyd6dQ
Cc: Paul Hoffman <paul.hoffman@vpnc.org>, Joe Hildebrand <jhildebr@cisco.com>, "json@ietf.org WG" <json@ietf.org>
Subject: Re: [Json] Proposed minimal change for strings
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, 05 Jul 2013 20:36:40 -0000

On 05/07/2013, at 17:50, Stephen Dolan wrote:
> "Javascript permits it" does not imply that JSON does or
> should.

But the built-in *JSON* in every current browser allows it:

JSON.parse(JSON.stringify({a:'_\ud800_'})).a.charCodeAt(1).toString(16)
"d800"
-- 
( Jorge )();