Re: [ogpx] type-system : binary elements in JSON serializations
"Hurliman, John" <john.hurliman@intel.com> Mon, 29 March 2010 19:19 UTC
Return-Path: <john.hurliman@intel.com>
X-Original-To: ogpx@core3.amsl.com
Delivered-To: ogpx@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 6EE893A692D for <ogpx@core3.amsl.com>; Mon, 29 Mar 2010 12:19:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.169
X-Spam-Level:
X-Spam-Status: No, score=-4.169 tagged_above=-999 required=5 tests=[AWL=1.300, BAYES_00=-2.599, DNS_FROM_OPENWHOIS=1.13, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zejMJfC7iVKQ for <ogpx@core3.amsl.com>; Mon, 29 Mar 2010 12:18:58 -0700 (PDT)
Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by core3.amsl.com (Postfix) with ESMTP id 3DF903A690E for <ogpx@ietf.org>; Mon, 29 Mar 2010 12:18:54 -0700 (PDT)
Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP; 29 Mar 2010 12:14:35 -0700
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="4.51,329,1267430400"; d="scan'208";a="553180454"
Received: from rrsmsx602.amr.corp.intel.com ([10.31.0.33]) by fmsmga002.fm.intel.com with ESMTP; 29 Mar 2010 12:17:59 -0700
Received: from rrsmsx506.amr.corp.intel.com ([10.31.0.39]) by rrsmsx602.amr.corp.intel.com ([10.31.0.33]) with mapi; Mon, 29 Mar 2010 13:19:22 -0600
From: "Hurliman, John" <john.hurliman@intel.com>
To: Meadhbh Hamrick <ohmeadhbh@gmail.com>, David W Levine <dwl@us.ibm.com>
Date: Mon, 29 Mar 2010 13:19:20 -0600
Thread-Topic: [ogpx] type-system : binary elements in JSON serializations
Thread-Index: AcrPbSVl/5Rm4n1yT3m5Bu0/l7M+FQAByDoA
Message-ID: <62BFE5680C037E4DA0B0A08946C0933DCB5FB75C@rrsmsx506.amr.corp.intel.com>
References: <b325928b1003281033p28c92367x2be877cc348268da@mail.gmail.com> <62BFE5680C037E4DA0B0A08946C0933DCB5FB69D@rrsmsx506.amr.corp.intel.com> <OF525A1644.1F7FE877-ON852576F5.00641451-852576F5.00641932@us.ibm.com> <b325928b1003291124i47c4ca3bpa55724f57d4ad7d8@mail.gmail.com>
In-Reply-To: <b325928b1003291124i47c4ca3bpa55724f57d4ad7d8@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: ogpx <ogpx@ietf.org>
Subject: Re: [ogpx] type-system : binary elements in JSON serializations
X-BeenThere: ogpx@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Virtual World Region Agent Protocol - IETF working group <ogpx.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ogpx>, <mailto:ogpx-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ogpx>
List-Post: <mailto:ogpx@ietf.org>
List-Help: <mailto:ogpx-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ogpx>, <mailto:ogpx-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Mar 2010 19:19:00 -0000
I think the conversion should go both ways assuming the string is base64. A string of "hello world" would produce zero binary octets, but "aGVsbG8gd29ybGQ=" would produce 11 binary octets. John > -----Original Message----- > From: Meadhbh Hamrick [mailto:ohmeadhbh@gmail.com] > Sent: Monday, March 29, 2010 11:24 AM > To: David W Levine > Cc: Hurliman, John; ogpx; ogpx-bounces@ietf.org > Subject: Re: [ogpx] type-system : binary elements in JSON > serializations > > coolies. i'll implement it and open a trac ticket for it. > > also... do we want to have a string to binary conversion? > -- > meadhbh hamrick * it's pronounced "maeve" > @OhMeadhbh * http://meadhbh.org/ * OhMeadhbh@gmail.com > > > > On Mon, Mar 29, 2010 at 11:13 AM, David W Levine <dwl@us.ibm.com> > wrote: > > > > > > ogpx-bounces@ietf.org wrote on 03/29/2010 02:05:48 PM: > > > >> [image removed] > >> > >> Re: [ogpx] type-system : binary elements in JSON serializations > >> > >> Hurliman, John > >> > >> to: > >> > >> Meadhbh Hamrick, ogpx > >> > >> 03/29/2010 02:06 PM > >> > >> Sent by: > >> > >> ogpx-bounces@ietf.org > >> > >> I think supporting conversion to and from string and binary at the > >> LLSD level is a good idea, and I don't see any downsides to this > approach. > >> > >> John > >> > > +1 > >
- [ogpx] type-system : binary elements in JSON seri… Meadhbh Hamrick
- Re: [ogpx] type-system : binary elements in JSON … Hurliman, John
- Re: [ogpx] type-system : binary elements in JSON … David W Levine
- Re: [ogpx] type-system : binary elements in JSON … Meadhbh Hamrick
- Re: [ogpx] type-system : binary elements in JSON … Hurliman, John
- Re: [ogpx] type-system : binary elements in JSON … Meadhbh Hamrick
- Re: [ogpx] type-system : binary elements in JSON … Joshua Bell
- Re: [ogpx] type-system : binary elements in JSON … Hurliman, John