Re: [Json] Proposed minimal change for duplicate names in objects

Nico Williams <nico@cryptonector.com> Wed, 03 July 2013 21:39 UTC

Return-Path: <nico@cryptonector.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 C75A911E8219 for <json@ietfa.amsl.com>; Wed, 3 Jul 2013 14:39:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.952
X-Spam-Level:
X-Spam-Status: No, score=-1.952 tagged_above=-999 required=5 tests=[AWL=0.025, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
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 rfgeguuBVMnN for <json@ietfa.amsl.com>; Wed, 3 Jul 2013 14:39:54 -0700 (PDT)
Received: from homiemail-a67.g.dreamhost.com (caiajhbdcbhh.dreamhost.com [208.97.132.177]) by ietfa.amsl.com (Postfix) with ESMTP id DB53A11E80EE for <json@ietf.org>; Wed, 3 Jul 2013 14:39:54 -0700 (PDT)
Received: from homiemail-a67.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a67.g.dreamhost.com (Postfix) with ESMTP id 31E1A27BC05D for <json@ietf.org>; Wed, 3 Jul 2013 14:39:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type:content-transfer-encoding; s= cryptonector.com; bh=rPcqw9nIJbWjdTcg9awwsUfD0iE=; b=KqQfGedy5ib I2mzaZ7JOTeEva9C3OC/rI11bpadzUmf4F15fKmP5KhgiEVsCciFBH3YuZYVe8Zr fnrE1d+oTubNBjsGUoHDvrkpz0cKMYQZw/zta+0bWOs025qUR4hbGOKh3vJ6d947 fUtNWRBCS2k3d4I3gxl89hmeC+ERNOKQ=
Received: from mail-we0-f176.google.com (mail-we0-f176.google.com [74.125.82.176]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a67.g.dreamhost.com (Postfix) with ESMTPSA id D614727BC069 for <json@ietf.org>; Wed, 3 Jul 2013 14:39:53 -0700 (PDT)
Received: by mail-we0-f176.google.com with SMTP id t56so537182wes.21 for <json@ietf.org>; Wed, 03 Jul 2013 14:39:52 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=e4XCZT02LDsgSaZ1uxr3PHJJZxflg9xmYs3NPlyn+kg=; b=bkGqkUGXFhJlBnbKArHhtnJ9AHKDb6fxT5n8iozKVwn17jDEjJb0DHNr/OmUjBKYMZ Eax/hj60FrJXG83muFn76juAiV9mVpIW42t6fJ6xix2EV61mNopbQsa22gnG3ekQHvKj /AWN4QIsvFAxImvghm79RTmSKzyX7iXyPB9EUGHyVIm2NdsxRKWJtVOXa4dbY8GjZegr YofHt93Z+DfybM0LxEVmBxdXhEMR+Hi8qUOgfXwm1dnPXLKv/jV6ykHNzGqavwCpcJqY sK44b+AY/2e6V1rDGOf4InQAj3LgDjwGJ7vgZXCwA/mbEnzzWTkasjKAfavAbAZ2q3au kkSQ==
MIME-Version: 1.0
X-Received: by 10.194.173.37 with SMTP id bh5mr1831984wjc.30.1372887592471; Wed, 03 Jul 2013 14:39:52 -0700 (PDT)
Received: by 10.216.152.73 with HTTP; Wed, 3 Jul 2013 14:39:52 -0700 (PDT)
In-Reply-To: <CAHBU6is6LsU9CpNMqYhEmovdiVey7ZQS8VTg5O+DU5me3Kk29g@mail.gmail.com>
References: <B86E1D4B-1DC8-4AD6-B8B3-E989599E0537@vpnc.org> <CAK3OfOj3MNNhjwo2bMa5CgoqynzMRVvviBXC8szxt5D17Z7FDg@mail.gmail.com> <51D3C63C.5030703@cisco.com> <51D48023.1020008@qti.qualcomm.com> <20130703201143.GL32044@mercury.ccil.org> <CAHBU6is6LsU9CpNMqYhEmovdiVey7ZQS8VTg5O+DU5me3Kk29g@mail.gmail.com>
Date: Wed, 3 Jul 2013 16:39:52 -0500
Message-ID: <CAK3OfOjCG2U48x-CHWEWZDf6WU3VJVT_kX5f-f7-sehrVYOfhg@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Tim Bray <tbray@textuality.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Cc: Pete Resnick <presnick@qti.qualcomm.com>, John Cowan <cowan@mercury.ccil.org>, Paul Hoffman <paul.hoffman@vpnc.org>, Eliot Lear <lear@cisco.com>, "json@ietf.org WG" <json@ietf.org>
Subject: Re: [Json] Proposed minimal change for duplicate names in objects
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, 03 Jul 2013 21:39:59 -0000

On Wed, Jul 3, 2013 at 3:44 PM, Tim Bray <tbray@textuality.com> wrote:
> On Wed, Jul 3, 2013 at 1:11 PM, John Cowan <cowan@mercury.ccil.org> wrote:
>>
>> Pete Resnick scripsit:
>>
>> > So I don't think saying RECOMMENDED or SHOULD regarding not
>> > producing duplicates should be seen as a non-starter. That's a
>> > defensible position for the WG to take.
>>
>> +1.  The only person saying otherwise right now is Tim, and he grants
>> that he is only concerned with a single use case.

> Hm?  I’m perfectly OK with a minimal edit leaving most things as they are
> and just pointing out potential interop gotchas.   JSON is what JSON is.
> For a BCP doc or “Internet JSON” profile, it’s a different story.  -T

I think John thought that you wanted a strict "MUST NOT have dup
names" requirement, but if you'd just settle for an out for streaming
generators/parsers, pushing the non-dup name responsibility up a layer
(or three) then maybe we could just all agree.

Nico
--