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

"Joe Hildebrand (jhildebr)" <jhildebr@cisco.com> Thu, 06 June 2013 06:47 UTC

Return-Path: <jhildebr@cisco.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 181B321F973A for <json@ietfa.amsl.com>; Wed, 5 Jun 2013 23:47:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level:
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
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 5+xL-md1aG5j for <json@ietfa.amsl.com>; Wed, 5 Jun 2013 23:47:32 -0700 (PDT)
Received: from rcdn-iport-9.cisco.com (rcdn-iport-9.cisco.com [173.37.86.80]) by ietfa.amsl.com (Postfix) with ESMTP id C7B2521F8E12 for <json@ietf.org>; Wed, 5 Jun 2013 23:47:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=328; q=dns/txt; s=iport; t=1370501252; x=1371710852; h=from:to:cc:subject:date:message-id:in-reply-to: content-id:content-transfer-encoding:mime-version; bh=Mj5KrWQzMOTAgC6YnBCcXZ1JxNTkbXUCc+4VHHB1aYw=; b=PQTF/CPERoJKNQW+YzL3gJmYJSPuuWBjK46dNmexgnv9Q1LI+S3sehQs CRQ6C4oFkYq2TJpMP7yaOz+C5o6JEPUmcYmpvSpOyRoewZ+rMc4FjZ3uW VnwfnIiOedwZWZbzxIyltdMtUQXne8L7VOGnYnw9BefMNN7MsdaijaDBr Q=;
X-IronPort-AV: E=Sophos;i="4.87,813,1363132800"; d="scan'208";a="216442801"
Received: from rcdn-core-5.cisco.com ([173.37.93.156]) by rcdn-iport-9.cisco.com with ESMTP; 06 Jun 2013 06:47:32 +0000
Received: from xhc-rcd-x05.cisco.com (xhc-rcd-x05.cisco.com [173.37.183.79]) by rcdn-core-5.cisco.com (8.14.5/8.14.5) with ESMTP id r566lWdp022404 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Thu, 6 Jun 2013 06:47:32 GMT
Received: from xmb-rcd-x10.cisco.com ([169.254.15.56]) by xhc-rcd-x05.cisco.com ([173.37.183.79]) with mapi id 14.02.0318.004; Thu, 6 Jun 2013 01:47:32 -0500
From: "Joe Hildebrand (jhildebr)" <jhildebr@cisco.com>
To: "stefan@drees.name" <stefan@drees.name>
Thread-Topic: [Json] The names within an object SHOULD be unique.
Thread-Index: AQHOYhtyf+f4Zs3CA0O//LSHQrFFDJknuj6hgABdkQD//59RgIAAw9GA//+zgYA=
Date: Thu, 06 Jun 2013 06:47:31 +0000
Message-ID: <A723FC6ECC552A4D8C8249D9E07425A70FC2E6E8@xmb-rcd-x10.cisco.com>
In-Reply-To: <51B01C4D.4020309@drees.name>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/14.3.4.130416
x-originating-ip: [10.21.86.44]
Content-Type: text/plain; charset="us-ascii"
Content-ID: <4DD8877FDD178A4FA158A5FECB7B3D1E@emea.cisco.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: Vinny A <jsontest@yahoo.com>, Eliot Lear <lear@cisco.com>, Douglas Crockford <douglas@crockford.com>, "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: Thu, 06 Jun 2013 06:47:39 -0000

On 6/5/13 11:21 PM, "Stefan Drees" <stefan@drees.name> wrote:

>Thus I propose append a
>
>"""Implementations are strongly urged to not duplicate names as keys in
>an object."""
>
>(or the like) after the above proposed statement with the two MAYs.

RFC 6919 has "REALLY SHOULD NOT" for this.

-- 
Joe Hildebrand