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

Nico Williams <nico@cryptonector.com> Sun, 09 June 2013 21:08 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 5736A21F8904 for <json@ietfa.amsl.com>; Sun, 9 Jun 2013 14:08:34 -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, HTML_MESSAGE=0.001]
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 NBiZH2Ca+hP0 for <json@ietfa.amsl.com>; Sun, 9 Jun 2013 14:08:20 -0700 (PDT)
Received: from homiemail-a71.g.dreamhost.com (caiajhbdccah.dreamhost.com [208.97.132.207]) by ietfa.amsl.com (Postfix) with ESMTP id AB5FF21F8930 for <json@ietf.org>; Sun, 9 Jun 2013 14:08:20 -0700 (PDT)
Received: from homiemail-a71.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a71.g.dreamhost.com (Postfix) with ESMTP id 4A0C7428072 for <json@ietf.org>; Sun, 9 Jun 2013 14:08:20 -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=Lu0TYoB7n2+x94PRzSKv ZQ+iQnU=; b=NPm7ku2waNcabEMWil4mBWbPFDATE7F324wKzYRSSPCKN7Vd3mWP 77wu5misFKZV7JP4DSKkHYgdrBB83IT1QWi81xJ91nXiqy3eahMLSGUbtK//Hszm eziD1hf/1q7wkxPPWvXw3rRNIJcx1LI2TK6gvFW4fd57c8Su6OkD7O4=
Received: from mail-wi0-f180.google.com (mail-wi0-f180.google.com [209.85.212.180]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a71.g.dreamhost.com (Postfix) with ESMTPSA id E9CAC42806E for <json@ietf.org>; Sun, 9 Jun 2013 14:08:19 -0700 (PDT)
Received: by mail-wi0-f180.google.com with SMTP id c10so880103wiw.1 for <json@ietf.org>; Sun, 09 Jun 2013 14:08:18 -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=JuhuBV7Dejbq4w8pz8iGH+ZFRK0/sneCRZ9wmA9olMk=; b=RkKl/GTgYioNHuYf3BN6AfJrVfOcGf4oyd8RnJNQSxdzzsd+gUWBJPVFVWTslPLA7z yfUJbeoWL7OFAus6l/1ryxUgTriJ7JuQFspl5S5mYs6PaWXolEfh4HYy10z85SwXuMGc VFkTQYyPkbJcV+tZCJxv1u2On45pwdcNcxgF6ZjH0M+VlgWi2FJUMwK8YUNM+Bi6CUnG CalKqQSanRWZG/H/iWIpfq0uq8UbPJhSHNNWNLT1qwcfAiFZfPn9qXqBx1CPbZ3/wD1B ek4Rg3Dn+XfXeHfmCIly0ud9NTPlw9b86GHYx+6T+eNc5TOo4qbmfk9DxvZuqNvTFrST sw7w==
MIME-Version: 1.0
X-Received: by 10.194.158.69 with SMTP id ws5mr2894600wjb.84.1370812098503; Sun, 09 Jun 2013 14:08:18 -0700 (PDT)
Received: by 10.216.63.136 with HTTP; Sun, 9 Jun 2013 14:08:18 -0700 (PDT)
Received: by 10.216.63.136 with HTTP; Sun, 9 Jun 2013 14:08:18 -0700 (PDT)
In-Reply-To: <51b4ec44.c5a22a0a.1b34.ffffa62dSMTPIN_ADDED_BROKEN@mx.google.com>
References: <A723FC6ECC552A4D8C8249D9E07425A70FC33B5B@xmb-rcd-x10.cisco.com> <51b23e6d.6196420a.0b15.4245SMTPIN_ADDED_BROKEN@mx.google.com> <CAChr6SwrveU=fesF8VidDYWzeYMu2c1+=38+__BqHArxTiW5mg@mail.gmail.com> <51b4dbbe.64da440a.1fc2.6dd2SMTPIN_ADDED_BROKEN@mx.google.com> <CAChr6Sx_obmG+=sY100ySBLmevN0VJ_0Z9TjYGxcXKOx+UtnJA@mail.gmail.com> <51b4ec44.c5a22a0a.1b34.ffffa62dSMTPIN_ADDED_BROKEN@mx.google.com>
Date: Sun, 09 Jun 2013 16:08:18 -0500
Message-ID: <CAK3OfOjU+9Mbgocq0hxrCsk7VshTw06DekyUR3nN_PHmCNLj-w@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Markus Lanthaler <markus.lanthaler@gmx.net>
Content-Type: multipart/alternative; boundary="e89a8f64355c2f71c304debf10af"
Cc: 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: Sun, 09 Jun 2013 21:08:34 -0000

At least several encoders and parsers allow any value type at the
top-level, either as an option or no matter what.