Re: [Json] I-JSON Tpic #2: Top-Level

Stefan Drees <stefan@drees.name> Wed, 30 April 2014 05:53 UTC

Return-Path: <stefan@drees.name>
X-Original-To: json@ietfa.amsl.com
Delivered-To: json@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B27321A6EE0 for <json@ietfa.amsl.com>; Tue, 29 Apr 2014 22:53:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.55
X-Spam-Level:
X-Spam-Status: No, score=-1.55 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id f2aDr6KYgary for <json@ietfa.amsl.com>; Tue, 29 Apr 2014 22:53:45 -0700 (PDT)
Received: from mout.web.de (mout.web.de [212.227.17.11]) by ietfa.amsl.com (Postfix) with ESMTP id 9B8F81A09DF for <json@ietf.org>; Tue, 29 Apr 2014 22:53:45 -0700 (PDT)
Received: from newyork.local.box ([80.187.97.156]) by smtp.web.de (mrweb102) with ESMTPSA (Nemesis) id 0Ldn2d-1X6UfU0SXr-00ixoS for <json@ietf.org>; Wed, 30 Apr 2014 07:53:43 +0200
Message-ID: <53608FE6.3020101@drees.name>
Date: Wed, 30 Apr 2014 07:53:42 +0200
From: Stefan Drees <stefan@drees.name>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.4.0
MIME-Version: 1.0
To: json@ietf.org
References: <535EB119.4000908@cisco.com> <CAHBU6itycQmqzAuxWyrFZ_v=fHdenm2csyAqtUGGu+vteh6=yQ@mail.gmail.com> <255B9BB34FB7D647A506DC292726F6E1154581E82F@WSMSG3153V.srv.dir.telstra.com> <CAHBU6iuqosV91W6CJyow_eaKdCNm_VOairJysuLS8mrWV+HM9g@mail.gmail.com>
In-Reply-To: <CAHBU6iuqosV91W6CJyow_eaKdCNm_VOairJysuLS8mrWV+HM9g@mail.gmail.com>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 8bit
X-Provags-ID: V03:K0:v6qp46f3kBdvY8B9hwgwbgTpEDSqBUyCSaqz2qf9AqI82XSjjR3 Y54PEW+jX6tM/9wTC/oHD0YWJABHXBGhyk4TCsUKeruZpXqqlRojtqTD8AtOauCHn+KD0i7 /AulNAcu6FDjVqAScSuyfjbNwGpL5TnOIdrawiOpoPeC5Qb8lFYgxdAFN6wXOP8DfIdlV3t TRFynVBiO9vHean8iDhcA==
Archived-At: http://mailarchive.ietf.org/arch/msg/json/ndKhwgFTLpRrquOvp7aWthyk5j0
Subject: Re: [Json] I-JSON Tpic #2: Top-Level
X-BeenThere: json@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: stefan@drees.name
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, 30 Apr 2014 05:53:46 -0000

Yes, please. In OData we investigate suggesting adhering to such a 
constrained JSON (OData JSON Texts are in format JSON always wrapped as 
values of a {"d": VALUE} element. It is nice to be able, to just 
reference I-JSON draft. If we remove that essential constraint, to me it 
would look quite useless or should I say nostalgic :-?

"Stefan"
Am 30.04.14 05:40, schrieb Tim Bray:
> I’m sorry, but the central idea of I-JSON is to explicitly rule out all
> the interoperability problems identified in RFC7159: How to produce
> maximally-interoperable JSON.  7159 specifically says that for
> interoperability a JSON Text should be an object or array, and the idea
> of making I-JSON less constraining totally defeats its purpose.  This is
> just not a reasonable direction to be going.
>
> Yes, it’s perfectly clear to any language lawyer that in ECMAScript, 42
> is a first-class JSON text, nobody is disputing this.
>
>
> On Tue, Apr 29, 2014 at 8:19 PM, Manger, James
> <James.H.Manger@team.telstra.com
> <mailto:James.H.Manger@team.telstra.com>> wrote:
>
>      > Protocols with messages which are objects are better than other
>     protocols, because they are architecturally friendly to MustIgnore
>     policies.
>
>     Perhaps we should say a MustIgnore policy applies to all objects in
>     I-JSON; instead of merely making a MustIgnore policy possible via a
>     somewhat tangential rule that the top-level must be an object.
>
>     --
>     James Manger
>
>
>
>
> _______________________________________________
> json mailing list
> json@ietf.org
> https://www.ietf.org/mailman/listinfo/json
>