Re: [Json] Allow any JSON value at the top level

Nico Williams <nico@cryptonector.com> Fri, 07 June 2013 20:53 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 4BE9F21F996F for <json@ietfa.amsl.com>; Fri, 7 Jun 2013 13:53:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level:
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5 tests=[AWL=0.000, 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 dAJ4x46gy7Zn for <json@ietfa.amsl.com>; Fri, 7 Jun 2013 13:53:20 -0700 (PDT)
Received: from homiemail-a70.g.dreamhost.com (caiajhbdcbef.dreamhost.com [208.97.132.145]) by ietfa.amsl.com (Postfix) with ESMTP id 68F0A21F99A1 for <json@ietf.org>; Fri, 7 Jun 2013 13:53:19 -0700 (PDT)
Received: from homiemail-a70.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a70.g.dreamhost.com (Postfix) with ESMTP id C6117768064 for <json@ietf.org>; Fri, 7 Jun 2013 13:53:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type; s=cryptonector.com; bh=1ulp7wTM0+FaqPCun/Uc V3HLWFA=; b=mdLK3mERHlTvquLLhAanVqDJLtN26Xzbuibp6+wCTWhADsQxkGxL fbkGIj58ARG7F/wnyPvIczGxOdiHnw4UFH8p96n7PS13DoVXFibJP1EiAVNRY7Sm PIDHquh5Kv8N1vTV8nm/OBwIj+g9S5XRm3FHnh+OgVgWQ1xf25BVjdw=
Received: from mail-we0-f176.google.com (mail-we0-f176.google.com [74.125.82.176]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a70.g.dreamhost.com (Postfix) with ESMTPSA id 65EA6768059 for <json@ietf.org>; Fri, 7 Jun 2013 13:53:17 -0700 (PDT)
Received: by mail-we0-f176.google.com with SMTP id t56so3358216wes.7 for <json@ietf.org>; Fri, 07 Jun 2013 13:53:15 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=0o4Oalib/5IaNCJKZ/LELPWQWoSN29GJlHN/tLxMbc8=; b=RaAiA8Mg60sHrdBhTAn6lRdM6airuRzezbVwP5ZUBMVAB05iIgWAbnnowJ0oS8sDYn 4DSvNuqLegxpY4v9TxOLN3FJwfItpcqKg5xqHBj7+kXc3O4DRNT+ytRbEwYT/04d43NG bsWd8vN3+wHSWfkOzZp8NPv6vRtrmTijAHw18lTihB+CseJ8d3VMnilzLD3JoVHgqwko gtksWGd0WVG2QNTzSgkR8LLp9G2ANhuYTQ2zH1te5Le3ppOyBrkZfduV7VGwPLQ8yG+B q6uNwAyDpWknVR1JQXCW10eKVnHaWduVgT+VyMtGdY6ekN9MV8CIpXS+hyQuyUlIHpfi 0czA==
MIME-Version: 1.0
X-Received: by 10.194.79.74 with SMTP id h10mr175255wjx.84.1370638395488; Fri, 07 Jun 2013 13:53:15 -0700 (PDT)
Received: by 10.216.63.136 with HTTP; Fri, 7 Jun 2013 13:53:15 -0700 (PDT)
In-Reply-To: <CAK3OfOhwXhhZH33htcdW_NdddLP9dreNFgGZdySzBBbDN1DDzQ@mail.gmail.com>
References: <255B9BB34FB7D647A506DC292726F6E1151B21F9A9@WSMSG3153V.srv.dir.telstra.com> <3B4E7F65-B9B9-4C95-B077-D178B8DD8216@vpnc.org> <51B20529.2040906@drees.name> <CAK3OfOhPBkjSyYUxGvccXVQ1Wjxh1YK7_rtXYB7xHpw4L703sg@mail.gmail.com> <CAK3OfOhwXhhZH33htcdW_NdddLP9dreNFgGZdySzBBbDN1DDzQ@mail.gmail.com>
Date: Fri, 07 Jun 2013 15:53:15 -0500
Message-ID: <CAK3OfOiYaCwBYqYGrMQrOE3TrM1Qs-DR0U3LGEfoycDcAbGejw@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: stefan@drees.name
Content-Type: text/plain; charset="UTF-8"
Cc: Paul Hoffman <paul.hoffman@vpnc.org>, "json@ietf.org" <json@ietf.org>
Subject: Re: [Json] Allow any JSON value at the top level
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, 07 Jun 2013 20:53:25 -0000

On Fri, Jun 7, 2013 at 3:19 PM, Nico Williams <nico@cryptonector.com> wrote:
> Ah, no, what a braino.  /me is embarrassed.

No, not a braino after all.  Since we'd not have two NUL bytes in a
row in any encoding other than UTF-32.  There'd be no ambiguity, even
with single-character values (numbers).