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

"Joe Hildebrand (jhildebr)" <jhildebr@cisco.com> Wed, 21 May 2014 17:47 UTC

Return-Path: <jhildebr@cisco.com>
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 476AB1A0191 for <json@ietfa.amsl.com>; Wed, 21 May 2014 10:47:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -15.152
X-Spam-Level:
X-Spam-Status: No, score=-15.152 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.651, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham
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 WOW94oGeSEZS for <json@ietfa.amsl.com>; Wed, 21 May 2014 10:47:29 -0700 (PDT)
Received: from alln-iport-3.cisco.com (alln-iport-3.cisco.com [173.37.142.90]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0E2661A0685 for <json@ietf.org>; Wed, 21 May 2014 10:47:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=864; q=dns/txt; s=iport; t=1400694448; x=1401904048; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=wqi4nR6+T9RDAaIkquZdrkey0z3bfjZAPV6PPOKGoAs=; b=hcR24uL1JFgDf5nZxlwj8CBObG0oADXtYHSKIji6c6JsUeoJxDb1yCSC nyvlYVhLT5kOz91NOAwOJPvbSfRQaQFcNZBcrsv0cENq4F+qmEOmx9DGO ovUZIxstTDR/7PHY6+jFwv3CzDdN2s4qR1k+VcsqqMRH9cBOkghGXpKOu 0=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Ar4HACzmfFOtJV2Q/2dsb2JhbABZgwmBKoJppnYBAQEBAQEFAZowARlzFnSCJgEBBCMRRRACAQgODAImAgICMBUQAgQOBYhBsHalUheBKoQriHkHgnWBSwEDmW6TJIM4gjA
X-IronPort-AV: E=Sophos;i="4.98,881,1392163200"; d="scan'208";a="45930988"
Received: from rcdn-core-8.cisco.com ([173.37.93.144]) by alln-iport-3.cisco.com with ESMTP; 21 May 2014 17:47:27 +0000
Received: from xhc-aln-x09.cisco.com (xhc-aln-x09.cisco.com [173.36.12.83]) by rcdn-core-8.cisco.com (8.14.5/8.14.5) with ESMTP id s4LHlRuL019495 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Wed, 21 May 2014 17:47:27 GMT
Received: from xmb-rcd-x10.cisco.com ([169.254.15.76]) by xhc-aln-x09.cisco.com ([173.36.12.83]) with mapi id 14.03.0123.003; Wed, 21 May 2014 12:47:27 -0500
From: "Joe Hildebrand (jhildebr)" <jhildebr@cisco.com>
To: Carsten Bormann <cabo@tzi.org>
Thread-Topic: [Json] I-JSON Tpic #2: Top-Level
Thread-Index: AQHPdGi105aJE7T7fEWGVLPUM+Ea0ptKPs8AgAAGkoCAAT3AAIAABNEAgAAEmgD//6JygIAAarGA//+mNoA=
Date: Wed, 21 May 2014 17:47:26 +0000
Message-ID: <CFA24283.4A7F9%jhildebr@cisco.com>
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> <ABB2BA00-6A21-4710-A1F5-49D4FB469E8F@vpnc.org> <CAK3OfOig8y5KpYZ86KrMPxrJOYC_hLBew_nmyneHCC2mXX+tag@mail.gmail.com> <537BB89E.2040305@cisco.com> <CAHBU6ivpG_H=UFd1fAQednN3Q2vvJtw5DD150GnRjq+Ar3bbTA@mail.gmail.com> <B8099FF7-F3DF-408B-91A5-5F061AB981D4@vpnc.org> <CAK3OfOjxu-=RLZwcao+zVdvceqidFHXbQmSH2prkKoNqB=6bEw@mail.gmail.com> <3CA1A8E2-341B-4E09-AC4F-30E427916F1B@vpnc.org> <CAK3OfOinNdUs8fYSmg3xigPrx1=YEdSBV=cmuCybXCJNgVP6_A@mail.gmail.com> <CFA23360.4A7B0%jhildebr@cisco.com> <A9735D5E-4282-46BB-B31C-9299BA7D173D@tzi.org>
In-Reply-To: <A9735D5E-4282-46BB-B31C-9299BA7D173D@tzi.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/14.4.1.140326
x-originating-ip: [10.129.24.156]
Content-Type: text/plain; charset="utf-8"
Content-ID: <4CBCA66CF12AB74997DC1B200E462BF0@emea.cisco.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/json/7KY5Iaatvy3B6h19RP55-zuFht0
Cc: Nico Williams <nico@cryptonector.com>, Paul Hoffman <paul.hoffman@vpnc.org>, IETF JSON WG <json@ietf.org>
Subject: Re: [Json] I-JSON Tpic #2: Top-Level
X-BeenThere: json@ietf.org
X-Mailman-Version: 2.1.15
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, 21 May 2014 17:47:30 -0000

On 5/21/14, 11:08 AM, "Carsten Bormann" <cabo@tzi.org> wrote:

>On 21 May 2014, at 18:46, Joe Hildebrand (jhildebr) <jhildebr@cisco.com>
>wrote:
>
>> 
>> I just tried it with the stock Ruby on an up-to-date Mac, and it still
>> fails.
>
>... as it should — an RFC 4627 implementation that just accepts non-4627
>JSON without some form of special flag is broken.

Oh, agree.  My point was that there is at least one implementation that
breaks when you pass it non-4627, that there are likely others, and that
therefore the interop guidance for object-or-array is reasonable in I-JSON.

-- 
Joe Hildebrand