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

Tim Bray <tbray@textuality.com> Wed, 05 June 2013 23:45 UTC

Return-Path: <tbray@textuality.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 D357621F848A for <json@ietfa.amsl.com>; Wed, 5 Jun 2013 16:45:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.618
X-Spam-Level:
X-Spam-Status: No, score=0.618 tagged_above=-999 required=5 tests=[AWL=-0.434, BAYES_00=-2.599, FH_RELAY_NODNS=1.451, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, J_CHICKENPOX_35=0.6, RCVD_IN_SORBS_DUL=0.877, RDNS_NONE=0.1]
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 Xfre8d3THV3B for <json@ietfa.amsl.com>; Wed, 5 Jun 2013 16:45:23 -0700 (PDT)
Received: from mail-ve0-x22e.google.com (mail-ve0-x22e.google.com [IPv6:2607:f8b0:400c:c01::22e]) by ietfa.amsl.com (Postfix) with ESMTP id A31AE21F85C9 for <json@ietf.org>; Wed, 5 Jun 2013 16:45:19 -0700 (PDT)
Received: by mail-ve0-f174.google.com with SMTP id oz10so1707876veb.19 for <json@ietf.org>; Wed, 05 Jun 2013 16:45:12 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=M3CVbiQ7OgOl5tRFbplerSk+fCnzHkpRgakRTTCLYJg=; b=ccaim2KT5hxRCCDY44Z7LvyPJKQMebhMiYpLJd295luOnDZXIeAVOVqOAn/55kBhzg R7GW+/CMOEi9F0JrpE7mY8Vr8rmONZo8+x5q+wwb+7SMwpKLtkTbihRoquy+sybfN1yp cckF/aWdvLZkRwH0iYRkYZmM4TmCnLda+fDB6EkXf6wr1j9J5V8TEpGklZxyW6jqNDNi ezh9Az+BezW0w8Seh9gDRWGtTWZ//Du2quN97MzxLU7bg+oFwIopKdSPJ3v4draRpnXx 0x+qraV4IxrPexrnQfP8n2dWK9GD8t4ywJv1wvdFxnJ48DvbMrWGfWGrI056eQE7RSgT NkGg==
MIME-Version: 1.0
X-Received: by 10.221.4.131 with SMTP id oc3mr21009001vcb.49.1370475912344; Wed, 05 Jun 2013 16:45:12 -0700 (PDT)
Received: by 10.220.48.14 with HTTP; Wed, 5 Jun 2013 16:45:12 -0700 (PDT)
X-Originating-IP: [96.49.81.176]
In-Reply-To: <A723FC6ECC552A4D8C8249D9E07425A70FC2C26F@xmb-rcd-x10.cisco.com>
References: <51AFC924.2030805@crockford.com> <A723FC6ECC552A4D8C8249D9E07425A70FC2C26F@xmb-rcd-x10.cisco.com>
Date: Wed, 05 Jun 2013 16:45:12 -0700
Message-ID: <CAHBU6ivkFNR4UXf34MvqfrbQJ3i_M0KYyKJjVYrdiEXGLMod5g@mail.gmail.com>
From: Tim Bray <tbray@textuality.com>
To: "Joe Hildebrand (jhildebr)" <jhildebr@cisco.com>
Content-Type: multipart/alternative; boundary="089e01293fe2edc9c104de70c9ed"
X-Gm-Message-State: ALoCoQnRuO+vGIefMJUfzVP8XvtiJu9YlV6QKU2Xqp4TS4u44OU88oZY+A2BWG8nWhX2c+//2VD+
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: Wed, 05 Jun 2013 23:45:28 -0000

Sure, but let’s put that in the best-practices doc.  We’re just defining a
format here. -T


On Wed, Jun 5, 2013 at 4:40 PM, Joe Hildebrand (jhildebr) <
jhildebr@cisco.com> wrote:

> On 6/5/13 5:26 PM, "Douglas Crockford" <douglas@crockford.com> wrote:
>
> >It think it should be added to the draft. If duplicate names are
> >encountered, the parse MAY fail (because some implementations correctly
> >do that), or it MAY succeed by accepting the last duplicated key:value
> >pair.
>
> +1
>
> do we have a preference for new software?
>
> --
> Joe Hildebrand
>
>
>
> _______________________________________________
> json mailing list
> json@ietf.org
> https://www.ietf.org/mailman/listinfo/json
>