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

Tim Bray <tbray@textuality.com> Wed, 05 June 2013 18:38 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 8039A21F9B65 for <json@ietfa.amsl.com>; Wed, 5 Jun 2013 11:38:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.313
X-Spam-Level: *
X-Spam-Status: No, score=1.313 tagged_above=-999 required=5 tests=[AWL=-0.833, BAYES_00=-2.599, FH_RELAY_NODNS=1.451, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_PBL=0.905, RDNS_NONE=0.1, SARE_HTML_USL_OBFU=1.666]
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 RIcafyHJCsqu for <json@ietfa.amsl.com>; Wed, 5 Jun 2013 11:38:48 -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 EE3B021F9700 for <json@ietf.org>; Wed, 5 Jun 2013 11:38:47 -0700 (PDT)
Received: by mail-ve0-f174.google.com with SMTP id oz10so1527164veb.33 for <json@ietf.org>; Wed, 05 Jun 2013 11:38:06 -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=cFiGOiB3NSDevqidsbzpBbYJGq07DUkzvBtpOCkqNoE=; b=cQdufY5KsAscMhZR7rQvMXtBGZG9kySzYNIwEaOXso58qZO2K3v8USEuwN8y3zCCcw EfUBuqwBhH3tyoodwyWSQeQ1KQghyCKwekD2GvurLlS/a1c3YSSFIgqK8c5lrJtSNCgG niVQKikaehG8/4DLSQLn4bhLyb7hTu6msrKKvnuCemnxlkns/bgB3/8Y7VhRkOLejrt/ Q83+zPMTNWQYhUxzCX50faGYx+MbFHIZ7ie9cnGN/qAXgamB1L4K+z/WGSOM3gXghoJL Jvv6RRidW+eMdlOeW9JADlyj3h4uoOTY9P113nfbyyM9QFP+GuF4LnMazH08Nkuy5VwA xWTA==
MIME-Version: 1.0
X-Received: by 10.52.89.234 with SMTP id br10mr17663943vdb.103.1370457486487; Wed, 05 Jun 2013 11:38:06 -0700 (PDT)
Received: by 10.220.48.14 with HTTP; Wed, 5 Jun 2013 11:38:06 -0700 (PDT)
X-Originating-IP: [24.114.41.136]
Received: by 10.220.48.14 with HTTP; Wed, 5 Jun 2013 11:38:06 -0700 (PDT)
In-Reply-To: <51AF8479.5080002@crockford.com>
References: <51AF8479.5080002@crockford.com>
Date: Wed, 05 Jun 2013 11:38:06 -0700
Message-ID: <CAHBU6iuBhjYOVbqWE1ANvCtOw5QOUM0LWYJCsiX5DRrVaY=iKA@mail.gmail.com>
From: Tim Bray <tbray@textuality.com>
To: Douglas Crockford <douglas@crockford.com>
Content-Type: multipart/alternative; boundary="20cf307f37d6a983e404de6c7f96"
X-Gm-Message-State: ALoCoQnGHc0hM7Z94wCb2LTmXS4OBdPAK4oCzOpYYz8QwRp4wC0/0LSEQkZEEUyLNzRVn6KRW7wE
Cc: 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 18:38:52 -0000

Or, leave it as is and address it in the best practices doc.
-T
On Jun 5, 2013 11:35 AM, "Douglas Crockford" <douglas@crockford.com> wrote:

> This was the biggest blunder in the RFC. SHOULD should have been MUST.
>
> It is, sadly, too late to repair this. Instead, we must specify what
> happens when you do the thing you SHOULD NOT do. We need to provide
> implementations some slack here because some implementations do the right
> thing and reject. Some implementations do the lazy thing and take that last
> use of the name.
> ______________________________**_________________
> json mailing list
> json@ietf.org
> https://www.ietf.org/mailman/**listinfo/json<https://www.ietf.org/mailman/listinfo/json>
>