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

Tatu Saloranta <tsaloranta@gmail.com> Thu, 06 June 2013 23:19 UTC

Return-Path: <tsaloranta@gmail.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 7785F21F99AF for <json@ietfa.amsl.com>; Thu, 6 Jun 2013 16:19:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.294
X-Spam-Level:
X-Spam-Status: No, score=-2.294 tagged_above=-999 required=5 tests=[AWL=0.305, BAYES_00=-2.599, HTML_MESSAGE=0.001, NO_RELAYS=-0.001]
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 QRylY-zZ9Ji5 for <json@ietfa.amsl.com>; Thu, 6 Jun 2013 16:19:22 -0700 (PDT)
Received: from mail-wi0-x231.google.com (mail-wi0-x231.google.com [IPv6:2a00:1450:400c:c05::231]) by ietfa.amsl.com (Postfix) with ESMTP id B62CA21F98AC for <json@ietf.org>; Thu, 6 Jun 2013 16:19:21 -0700 (PDT)
Received: by mail-wi0-f177.google.com with SMTP id ey16so846276wid.4 for <json@ietf.org>; Thu, 06 Jun 2013 16:19:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=e1uoNWC/Bhn9dVVUpdI103bPnmhy6zFLaMUqNFqsmNs=; b=WCSXAa2PafRcb+nBO9z4Z/qv0zbLRQAzVuxRZOfIsQrPJXrgBpNdTj0+asEMd1UqmF Odalb98mjTfFwKyJC0jYBytT0xvIcrp3eAjpkk9dV7pMgq0oAI+E0tpNU25K24sDqdo7 M0QJV6KNz1cmcPjy5UXhrtf3T7WoSMRvSIgCt2JEtPMffKI3daR766DAF1O4CQABPlks c4XxlNHUY4aTF5/kKadNjsfHIwmtxfyLCPi+lEZ4YKtYwhCMkblGwBm98v/Szfi/yFXX O/xCQjjIfGwUz1nDfZEHn1QmwvHRU6CTDYX21yxkAcsq6q6RMmUWMyHOlJfVO91nvz0w 19Yw==
MIME-Version: 1.0
X-Received: by 10.194.134.73 with SMTP id pi9mr34125952wjb.38.1370560760942; Thu, 06 Jun 2013 16:19:20 -0700 (PDT)
Received: by 10.227.97.6 with HTTP; Thu, 6 Jun 2013 16:19:20 -0700 (PDT)
In-Reply-To: <8DF516C4-109F-487D-84C8-DC1AEF04A324@vpnc.org>
References: <51AF8479.5080002@crockford.com> <CAK3OfOgtYoPRZ-Gj5G8AnNipDyxYs=6_KD=rQTxKbhDPX6FZNA@mail.gmail.com> <BF7E36B9C495A6468E8EC573603ED9411527EF7B@xmb-aln-x11.cisco.com> <CAK3OfOhFpzWzdzdQ99O--daKUd4nSVRDWVU8EoyQou-S+CYn+A@mail.gmail.com> <8DF516C4-109F-487D-84C8-DC1AEF04A324@vpnc.org>
Date: Thu, 06 Jun 2013 16:19:20 -0700
Message-ID: <CAGrxA24fcsLA-c1fgRKhZWacM0wv42DSy2Bs_p0zSjvah5mt8A@mail.gmail.com>
From: Tatu Saloranta <tsaloranta@gmail.com>
To: Paul Hoffman <paul.hoffman@vpnc.org>
Content-Type: multipart/alternative; boundary="e89a8f3ba28b4c95eb04de848bbb"
Cc: "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 23:19:22 -0000

On Thu, Jun 6, 2013 at 3:58 PM, Paul Hoffman <paul.hoffman@vpnc.org> wrote:

> <co-chair hat on>
>
> Some of the recent comments on this thread have gone down the path of
> naming different types of parsers and saying they might have different
> rules because of their capabilities.
>
> Do we really want to do that for what is supposed to be a minimal update
> of the spec? (That is a leading question, but "yes" is an acceptable answer
> if it justified.)
>
> Proposal: we simply list what we want encoders and parsers to do without
> saying what type of encoder, or what type of parser, gets to do what.



I think mention of different modes of operation would only be relevant to
explain why certain limits (MUST not write duplicates, MUST report error
for duplicates) can not be imposed. So they could be mentioned as
rationale; explain why SHOULD instead of MUST.

-+ Tatu +-