Re: [VCARDDAV] JSON representation
Simon Perreault <simon.perreault@viagenie.ca> Thu, 07 June 2012 19:12 UTC
Return-Path: <simon.perreault@viagenie.ca>
X-Original-To: vcarddav@ietfa.amsl.com
Delivered-To: vcarddav@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DA6B311E809D for <vcarddav@ietfa.amsl.com>; Thu, 7 Jun 2012 12:12:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.245
X-Spam-Level:
X-Spam-Status: No, score=-2.245 tagged_above=-999 required=5 tests=[AWL=-0.245, BAYES_00=-2.599, J_CHICKENPOX_61=0.6, NO_RELAYS=-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 AD7MvO3GNkCw for <vcarddav@ietfa.amsl.com>; Thu, 7 Jun 2012 12:12:28 -0700 (PDT)
Received: from jazz.viagenie.ca (unknown [IPv6:2620:0:230:8000:226:55ff:fe57:14db]) by ietfa.amsl.com (Postfix) with ESMTP id 3903A11E8072 for <vcarddav@ietf.org>; Thu, 7 Jun 2012 12:12:28 -0700 (PDT)
Received: from ringo.viagenie.ca (unknown [IPv6:2620:0:230:c064:b4da:23a8:649d:b10c]) by jazz.viagenie.ca (Postfix) with ESMTPSA id 9911842663; Thu, 7 Jun 2012 15:12:27 -0400 (EDT)
Message-ID: <4FD0FD1B.9000300@viagenie.ca>
Date: Thu, 07 Jun 2012 15:12:27 -0400
From: Simon Perreault <simon.perreault@viagenie.ca>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120216 Thunderbird/10.0.1
MIME-Version: 1.0
To: "Raghurama Bhat (ragbhat)" <ragbhat@cisco.com>
References: <4FCFFECA.8010507@stpeter.im> <4FD0C14D.1010406@viagenie.ca><4FD0D27F.5070706@stpeter.im> <4FD0DB04.6040604@viagenie.ca> <93E73285DA3584449E2CD5E9414E16C3038555B4@xmb-sjc-21d.amer.cisco.com>
In-Reply-To: <93E73285DA3584449E2CD5E9414E16C3038555B4@xmb-sjc-21d.amer.cisco.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Cc: vcarddav@ietf.org
Subject: Re: [VCARDDAV] JSON representation
X-BeenThere: vcarddav@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: IETF vcarddav wg mailing list <vcarddav.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/vcarddav>, <mailto:vcarddav-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/vcarddav>
List-Post: <mailto:vcarddav@ietf.org>
List-Help: <mailto:vcarddav-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/vcarddav>, <mailto:vcarddav-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Jun 2012 19:12:29 -0000
On 2012-06-07 15:07, Raghurama Bhat (ragbhat) wrote: > ------------------------------------------------------------------------ > ----------------------------------------- > The gender examples from vCard could be expressed like this: > GENDER:M > GENDER:F > GENDER:M;Fellow > GENDER:F;grrrl > GENDER:O;intersex > GENDER:;it's complicated > > "gender": "M" > "gender": "F" > "gender": ["M", "Fellow"] > "gender": ["F", "grrrl"] > "gender": ["O", "intersex"] > "gender": ["", "it's complicated"] > ------------------------------------------------------------------------ > ----------------------------------------- > I like the simplicity for the simple case, but aren't we losing some > information in cases 3-6 above? You would not know which one is the > value and which one is the parameter unless you rely on order. I don't > believe JSON converters are required to preserve order. I'm not sure I'm following you. You mean JSON lists may be arbitrarily reordered? If this is the case then there may be many more problems... Simon -- DTN made easy, lean, and smart --> http://postellation.viagenie.ca NAT64/DNS64 open-source --> http://ecdysis.viagenie.ca STUN/TURN server --> http://numb.viagenie.ca
- Re: [VCARDDAV] JSON representation Simon Perreault
- [VCARDDAV] JSON representation Peter Saint-Andre
- Re: [VCARDDAV] JSON representation Joe Marcus Clarke
- Re: [VCARDDAV] JSON representation Raghurama Bhat (ragbhat)
- Re: [VCARDDAV] JSON representation Cyrus Daboo
- Re: [VCARDDAV] JSON representation Joe Marcus Clarke
- Re: [VCARDDAV] JSON representation Julian Reschke
- Re: [VCARDDAV] JSON representation Peter Saint-Andre
- Re: [VCARDDAV] JSON representation Peter Saint-Andre
- Re: [VCARDDAV] JSON representation Peter Saint-Andre
- Re: [VCARDDAV] JSON representation Cyrus Daboo
- Re: [VCARDDAV] JSON representation Simon Perreault
- Re: [VCARDDAV] JSON representation Raghurama Bhat (ragbhat)
- Re: [VCARDDAV] JSON representation Simon Perreault
- Re: [VCARDDAV] JSON representation Raghurama Bhat (ragbhat)
- Re: [VCARDDAV] JSON representation Julian Reschke
- Re: [VCARDDAV] JSON representation Simon Perreault
- Re: [VCARDDAV] JSON representation Peter Saint-Andre
- Re: [VCARDDAV] JSON representation Simon Perreault
- Re: [VCARDDAV] JSON representation Raghurama Bhat (ragbhat)
- Re: [VCARDDAV] JSON representation Simon Perreault
- Re: [VCARDDAV] JSON representation Joe Hildebrand
- Re: [VCARDDAV] JSON representation Joe Hildebrand
- Re: [VCARDDAV] JSON representation Raghurama Bhat (ragbhat)
- Re: [VCARDDAV] JSON representation Simon Perreault