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

Jacob Davies <jacob@well.com> Fri, 07 June 2013 17:31 UTC

Return-Path: <cromis@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 533A521F88D8 for <json@ietfa.amsl.com>; Fri, 7 Jun 2013 10:31:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.978
X-Spam-Level:
X-Spam-Status: No, score=-1.978 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 N7s+3S4Xk8kB for <json@ietfa.amsl.com>; Fri, 7 Jun 2013 10:31:06 -0700 (PDT)
Received: from mail-qa0-x233.google.com (mail-qa0-x233.google.com [IPv6:2607:f8b0:400d:c00::233]) by ietfa.amsl.com (Postfix) with ESMTP id D1AAA21F96FF for <json@ietf.org>; Fri, 7 Jun 2013 10:31:05 -0700 (PDT)
Received: by mail-qa0-f51.google.com with SMTP id f11so1217248qae.10 for <json@ietf.org>; Fri, 07 Jun 2013 10:31:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=Ocieh+0/A+nl1IIv/yUtQbHwRMDsfeuA5JRRiD+UxxU=; b=ZdybbO+DB80soobFzumMvCOZ1xMwdLjrZW0a/sATRSVXPoReOhirq+HoeiAoYAqKh4 PnOPfek+7Vct2sAwWxbKJcbtmQDwBzRj68TSXkR8GRG1YSmxuR+UM63jUnQV6d1+Pw9t l1rqIJXSX+4OmdyDrgib6jUTpPT+7dAfFR2zQ3p3qT4/GmGSvujXyiSCM4Ula78X1Zpp QN6rcJAtNmIKiTvhin9zw9WAOsX4Ikxnid58MIoglMlYtihZie1/LqUNDMV1doA/B/Fo KSuCnjSvcynoaMgQhRd3YI/xztguGndtzohalS+IFA9+4xa0NhAXZ1LPp998qWcN8p+u IDVA==
X-Received: by 10.49.101.74 with SMTP id fe10mr17699608qeb.11.1370626265334; Fri, 07 Jun 2013 10:31:05 -0700 (PDT)
MIME-Version: 1.0
Sender: cromis@gmail.com
Received: by 10.49.106.228 with HTTP; Fri, 7 Jun 2013 10:30:44 -0700 (PDT)
In-Reply-To: <CAChr6SxDaa981O3w2hixE4RFpJhUQB6TZ12j7sCOQ3HvpQvMPA@mail.gmail.com>
References: <51AF8479.5080002@crockford.com> <CAK3OfOgtYoPRZ-Gj5G8AnNipDyxYs=6_KD=rQTxKbhDPX6FZNA@mail.gmail.com> <51b1168c.e686440a.5339.5fc4SMTPIN_ADDED_BROKEN@mx.google.com> <CAK3OfOhL3zXHfg9EEDWLXhjLQ1aBvvxikKAiR+nUpDHJaVh+Qg@mail.gmail.com> <CAChr6SxDaa981O3w2hixE4RFpJhUQB6TZ12j7sCOQ3HvpQvMPA@mail.gmail.com>
From: Jacob Davies <jacob@well.com>
Date: Fri, 07 Jun 2013 10:30:44 -0700
X-Google-Sender-Auth: 2ZZOvyvBTRmQOLtUH4-SfK8sz7c
Message-ID: <CAO1wJ5SF_SEc4NCJwSehmSZyVcDjdoxNZSMktdn_JcSLvMFUrw@mail.gmail.com>
To: R S <sayrer@gmail.com>
Content-Type: text/plain; charset="ISO-8859-1"
Cc: Nico Williams <nico@cryptonector.com>, Markus Lanthaler <markus.lanthaler@gmx.net>, "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: Fri, 07 Jun 2013 17:31:06 -0000

On Thu, Jun 6, 2013 at 7:59 PM, R S <sayrer@gmail.com> wrote:
> The text from RFC 4627 should stay unchanged. The suggestions for
> requirements on encoders are prescriptive and therefore inaccurate at this
> stage in JSON's adoption.

+1

I don't think there is anything you can do about this in the
specification except give the doctor's advice: "Don't do that." It is
better to leave the behavior unspecified and advise against using it
than to try to specify some one way of handling it that can't be
relied on in the real world.