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

John Cowan <cowan@mercury.ccil.org> Sun, 28 July 2013 03:46 UTC

Return-Path: <cowan@ccil.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 A41F411E8160 for <json@ietfa.amsl.com>; Sat, 27 Jul 2013 20:46:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level:
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
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 E1kmpkSeBNvE for <json@ietfa.amsl.com>; Sat, 27 Jul 2013 20:46:04 -0700 (PDT)
Received: from earth.ccil.org (earth.ccil.org [192.190.237.11]) by ietfa.amsl.com (Postfix) with ESMTP id 8490911E8162 for <json@ietf.org>; Sat, 27 Jul 2013 20:46:03 -0700 (PDT)
Received: from cowan by earth.ccil.org with local (Exim 4.72) (envelope-from <cowan@ccil.org>) id 1V3Hvl-0000Sf-GI; Sat, 27 Jul 2013 23:46:01 -0400
Date: Sat, 27 Jul 2013 23:46:01 -0400
From: John Cowan <cowan@mercury.ccil.org>
To: Jorge Chamorro <jorge@jorgechamorro.com>
Message-ID: <20130728034601.GG6846@mercury.ccil.org>
References: <CAK3OfOgtYoPRZ-Gj5G8AnNipDyxYs=6_KD=rQTxKbhDPX6FZNA@mail.gmail.com> <51b1168c.e686440a.5339.5fc4SMTPIN_ADDED_BROKEN@mx.google.com> <CAK3OfOhL3zXHfg9EEDWLXhjLQ1aBvvxikKAiR+nUpDHJaVh+Qg@mail.gmail.com> <51B1B47C.9060009@drees.name> <C86A9758-5BEF-415C-BD17-DC5E757FAA7E@yahoo.com> <51B1E909.2010402@drees.name> <CA+mHimN9=VZu4RRWcnk2F_uMi-+E-LDN2stb1MFNDP+o1R0WSg@mail.gmail.com> <EEDD52B0-4577-4789-A3C6-586C3D95D81C@jorgechamorro.com> <20130727224613.GE6846@mercury.ccil.org> <A9D21722-4506-4F40-B177-95A245988999@jorgechamorro.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <A9D21722-4506-4F40-B177-95A245988999@jorgechamorro.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Sender: John Cowan <cowan@ccil.org>
Cc: "json@ietf.org WG" <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: Sun, 28 Jul 2013 03:46:08 -0000

Jorge Chamorro scripsit:

> Yes, but it's problematic only for the streaming parsers that emit
> [key,value] pairs, not for those which emit entire objects.

In what sense are they streaming parsers, then?  The whole idea of a streaming
parser is that it passes along the elements of JSON objects, arrays, and
perhaps even strings and numbers bit by bit to the invoking application.

-- 
Andrew Watt on Microsoft:                       John Cowan
Never in the field of human computing           cowan@ccil.org
has so much been paid by so many                http://www.ccil.org/~cowan
to so few! (pace Winston Churchill)