Re: [Json] JSON for Internet messages

Tim Bray <tbray@textuality.com> Wed, 03 July 2013 16:57 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 7D32D11E81FE for <json@ietfa.amsl.com>; Wed, 3 Jul 2013 09:57:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.976
X-Spam-Level:
X-Spam-Status: No, score=-2.976 tagged_above=-999 required=5 tests=[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 BC0-oR-wd9vN for <json@ietfa.amsl.com>; Wed, 3 Jul 2013 09:56:54 -0700 (PDT)
Received: from mail-ve0-f176.google.com (mail-ve0-f176.google.com [209.85.128.176]) by ietfa.amsl.com (Postfix) with ESMTP id 873B211E81F2 for <json@ietf.org>; Wed, 3 Jul 2013 09:56:54 -0700 (PDT)
Received: by mail-ve0-f176.google.com with SMTP id c13so333610vea.7 for <json@ietf.org>; Wed, 03 Jul 2013 09:56:54 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=XvlMjI/HjQ1yvuJ/nD6pCze0xKYrL3zKNy5idgblsHE=; b=BgwHW8kLQ9Z0wYG/iVyBQ+YyXllAesr6JIqbNceqpMPoS6vs4Vjm6qmF5DJhwxO+yS KrRmCPHYuIkwNE73m+394Z4Yz5w02170J6DHA4vIyhmAbLrVD+WBNwbNqNO2DTiWKejw CGH3np0x4VIerlAAXjeLaq+T3ZlScBSAzcOdEmeBEAVxipH2UZVtKoE+mgpVxVumEu3Y 1QYQ4mylPc82wruKFF1OdIRiA2ObTMHXtN+jWj8NqRbfdRlNEAaex6f9mducinwFJE2h K6/h0jLKjwxoOQFp/RARIYX05ujAFQ3pU1THBK29iCifwet0FSUi35SQv3b4Vb8SLGFk IMmw==
MIME-Version: 1.0
X-Received: by 10.220.67.137 with SMTP id r9mr532256vci.69.1372870613987; Wed, 03 Jul 2013 09:56:53 -0700 (PDT)
Received: by 10.220.219.200 with HTTP; Wed, 3 Jul 2013 09:56:53 -0700 (PDT)
X-Originating-IP: [209.121.225.216]
In-Reply-To: <CAK3OfOje86wBsMs5-PPC_NMTQDmK57v_EsMvvjvHccM5fT0_WQ@mail.gmail.com>
References: <CAHBU6it55C5vCNLBki1LvjpWd4fANY8LdC4fzxj3a2G_+q=qSA@mail.gmail.com> <CAK3OfOje86wBsMs5-PPC_NMTQDmK57v_EsMvvjvHccM5fT0_WQ@mail.gmail.com>
Date: Wed, 3 Jul 2013 09:56:53 -0700
Message-ID: <CAHBU6iukSNLB1_4h-7gUHiSVkJVpuXbvJ0ga4Zo6JmzxoaSGsg@mail.gmail.com>
From: Tim Bray <tbray@textuality.com>
To: Nico Williams <nico@cryptonector.com>
Content-Type: multipart/alternative; boundary=047d7b3a7db245024804e09e596a
X-Gm-Message-State: ALoCoQm8anYbiepKbVWGVqUiceT/Bu2Fp4V6ie4M2yEueBy4AjoHoSjLk3RWz/By9I53naAhhygy
Cc: "json@ietf.org" <json@ietf.org>
Subject: Re: [Json] JSON for Internet messages
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: Wed, 03 Jul 2013 16:57:00 -0000

On Wed, Jul 3, 2013 at 9:47 AM, Nico Williams <nico@cryptonector.com> wrote:

> We could argue about your list of things to mandate.  Are you counting
> escaped code units in their unescaped forms towards well-formed UTF-8?
>  Would we need a new media type, or could we say it doesn't matter,
> this is the Internet JSON?


Well-formed UTF-8 isn’t allowed to encode surrogates. Which meets the
minimal need; Frankly, I think string-handling code can, in practice, suck
it up and deal with all sorts of Unicode inappropriateness... just not
surrogates.  Also, I explicitly said the question of self-identification
(e.g. with a media type) is open. -T


> That aside, +1, even to the non-duplicate
> names requirement.
>
> Nico
> --
>