Re: [Json] The names within an object SHOULD be unique.

Vinny A <jsontest@yahoo.com> Wed, 05 June 2013 21:59 UTC

Return-Path: <jsontest@yahoo.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 BD1A421F966B for <json@ietfa.amsl.com>; Wed, 5 Jun 2013 14:59:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.398
X-Spam-Level: *
X-Spam-Status: No, score=1.398 tagged_above=-999 required=5 tests=[BAYES_50=0.001, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=1.396]
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 qO2qjlwh7S-v for <json@ietfa.amsl.com>; Wed, 5 Jun 2013 14:59:28 -0700 (PDT)
Received: from nm13.bullet.mail.ne1.yahoo.com (nm13.bullet.mail.ne1.yahoo.com [98.138.90.76]) by ietfa.amsl.com (Postfix) with ESMTP id D9BD821F9634 for <json@ietf.org>; Wed, 5 Jun 2013 14:59:27 -0700 (PDT)
Received: from [98.138.90.54] by nm13.bullet.mail.ne1.yahoo.com with NNFMP; 05 Jun 2013 21:59:26 -0000
Received: from [98.138.226.57] by tm7.bullet.mail.ne1.yahoo.com with NNFMP; 05 Jun 2013 21:59:26 -0000
Received: from [127.0.0.1] by smtp208.mail.ne1.yahoo.com with NNFMP; 05 Jun 2013 21:59:26 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1370469566; bh=rdEKVPNqBoOkBvkyXgN32Q2Apk8M9odd2J1ylO051gY=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:References:In-Reply-To:Mime-Version:Content-Transfer-Encoding:Content-Type:Message-Id:Cc:X-Mailer:From:Subject:Date:To; b=hUw3nM/97AEK6DwsqxZcyJ6QNk0vWhYvr47hslrqXEQkbj1/bclUYRnLUQ1dWAI8d0yU0JOnKXYnxdwpiD/s6d/P2D5sGiOUCHo9WBA8Fk3/BM8a6O8Y79WiOjHUacNPKLr7LDkr3en88DMZOoF7k7NKdmmpw4quMPJStm1xRx4=
X-Yahoo-Newman-Id: 927721.60022.bm@smtp208.mail.ne1.yahoo.com
X-Yahoo-Newman-Property: ymail-3
X-YMail-OSG: sBUjzAoVM1nTJPnBOOiL_FjiCOsgCaNmgFWJroNu0BTyiV3 V9ZKbJKpsSgK9xrW.PYRtHnkUjve78pmPtaYNGbHjisTM25sXcU3EQc5vkgV WFgmRWY49Z44hO8PbHSmgb_F66anbsknU.321PLcnQfk5BTZ7XZglxx6Zvbz kpOd6Vk2qJiiRzb3qPXqiQjeBQgX5xgQDrgQIYrOIFcoZz.K9Qn.T1xLqjR8 BVIHD5b4TIQ1S0WFEuP9dITRsqWs7_4q7n0nYuLphGsSnx0ohXeB7HzWJEau cWLk6x3AJ__e9ddNWaeE_QQSFvSZCbk4btNq3Tt.U_3EQC4qPtHiGbDeNJTI knK2jL86CE4_Vq.eXq2sMQd5ATxGvsYZFI1deoxz5pkkSXxnFtSRE9wj.BRH Ny7c7aLf57Khhbq3E13N5mFWu4WJnM0eiMc1qJ.a73dmhCDpApzfWxiHa2xb nHspb4POIKUVtrApBH7hZwi427kQLBYySHnjLGEfO.D2xmuw1c._stzPSFEE Y4210C6qMvuM.iUuN4EXZ6pEZ0GH_STY-
X-Yahoo-SMTP: indQcmSswBC8IKsm6t4aCAPskK3T
X-Rocket-Received: from [192.168.0.102] (jsontest@76.29.100.42 with ) by smtp208.mail.ne1.yahoo.com with SMTP; 05 Jun 2013 14:59:26 -0700 PDT
References: <51AF8479.5080002@crockford.com> <51AF9ACF.5020507@cisco.com> <D0A99569-0915-4862-A7AE-9DE51C2E90C0@yahoo.com> <CAKd4nAj2KPJRhY--mbbmV7ia-FQfKMA8KtwsZBBW2U5F3Hh8cA@mail.gmail.com>
In-Reply-To: <CAKd4nAj2KPJRhY--mbbmV7ia-FQfKMA8KtwsZBBW2U5F3Hh8cA@mail.gmail.com>
Mime-Version: 1.0 (1.0)
Content-Transfer-Encoding: 7bit
Content-Type: multipart/alternative; boundary="Apple-Mail-B9D5D400-209F-42C9-9048-5CF3AEF6465C"
Message-Id: <673D38D7-6AB9-4EFF-B176-302063CF5A4C@yahoo.com>
X-Mailer: iPod Mail (9B206)
From: Vinny A <jsontest@yahoo.com>
Date: Wed, 05 Jun 2013 16:59:22 -0500
To: Stephan Beal <sgbeal@googlemail.com>
Cc: "json@ietf.org" <json@ietf.org>
Subject: Re: [Json] The names within an object SHOULD be unique.
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: Wed, 05 Jun 2013 21:59:33 -0000

On Jun 5, 2013, at 4:14 PM, Stephan Beal <sgbeal@googlemail.com> wrote:
> Maybe i'm nit-picking, but that point could certainly disappoint some people who would have to re-label their implementations as "JSON comp^H^H^H^Halmost-compliant".

I don't think you're nit picking. You bring up a very valid concern. With that said, any choice made is going to disappoint someone out there.

JSON implementations vary wildly in how they deal with duplicate keys (rejecting them, first key only, last key only, transforming duplicated keys into an array) and it gets rather tiresome after a while. Any choice that this mailing list makes is going to break something, but it'll be an improvement for future interoperability. Frankly the actual choice is irrelevant - there are pros/cons to all 4 choices - interop is what matters.

Delaying this discussion until bis document writing is also a good idea.

On Jun 5, 2013, at 4:14 PM, Stephan Beal <sgbeal@googlemail.com> wrote:
> (Sorry, Vinny - gmail is giving me all kinds of grief with the list replies.)
> 

OT: No worries. Yahoo mail is also having difficulty with this list - some emails are getting marked as spam by Yahoo's filters.

-----------------
Vinny
www.jsontest.com