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

Paul Hoffman <paul.hoffman@vpnc.org> Wed, 03 July 2013 15:15 UTC

Return-Path: <paul.hoffman@vpnc.org>
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 3371811E81B4 for <json@ietfa.amsl.com>; Wed, 3 Jul 2013 08:15:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.599
X-Spam-Level:
X-Spam-Status: No, score=-102.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, USER_IN_WHITELIST=-100]
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 ap4sIKAKnHue for <json@ietfa.amsl.com>; Wed, 3 Jul 2013 08:15:19 -0700 (PDT)
Received: from hoffman.proper.com (IPv6.Hoffman.Proper.COM [IPv6:2605:8e00:100:41::81]) by ietfa.amsl.com (Postfix) with ESMTP id D37C511E81CF for <json@ietf.org>; Wed, 3 Jul 2013 08:15:18 -0700 (PDT)
Received: from [10.20.30.90] (50-1-98-228.dsl.dynamic.sonic.net [50.1.98.228]) (authenticated bits=0) by hoffman.proper.com (8.14.5/8.14.5) with ESMTP id r63FFD2f050579 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Wed, 3 Jul 2013 08:15:14 -0700 (MST) (envelope-from paul.hoffman@vpnc.org)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\))
From: Paul Hoffman <paul.hoffman@vpnc.org>
In-Reply-To: <CAK3OfOj3MNNhjwo2bMa5CgoqynzMRVvviBXC8szxt5D17Z7FDg@mail.gmail.com>
Date: Wed, 03 Jul 2013 08:15:14 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <F7023266-CD2B-4D10-B462-6C0383FCD255@vpnc.org>
References: <B86E1D4B-1DC8-4AD6-B8B3-E989599E0537@vpnc.org> <CAK3OfOj3MNNhjwo2bMa5CgoqynzMRVvviBXC8szxt5D17Z7FDg@mail.gmail.com>
To: Nico Williams <nico@cryptonector.com>
X-Mailer: Apple Mail (2.1508)
Cc: "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 15:15:20 -0000

<chair hats on>

On Jul 2, 2013, at 8:30 PM, Nico Williams <nico@cryptonector.com> wrote:

> No way.  The threads on this were long, I know, but it should be clear
> that streaming parsers cannot even detect that there are duplicates,
> much less do something about them.

The earlier threads indicated that some people felt streaming parsers could not retain the names they had emitted, while others didn't. 

> In short, for streaming parsers (and generators) there's nothing we can do.

The more recent threads indicated that predictable interoperability was important to many people on the list.

The purpose of this thread, and its companion, is to propose changes to the spec that would be to see if there is rough consensus for proposals that bring predictable interoperability. If such rough consensus is not possible, that is valuable input for the Working Group.

--Matt Miller and Paul Hoffman