Re: [Json] fun with streaming, was The names within an object SHOULD be unique.

Vinny A <jsontest@yahoo.com> Sat, 03 August 2013 04:36 UTC

Return-Path: <jsontest@yahoo.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 D41A311E80E2 for <json@ietfa.amsl.com>; Fri, 2 Aug 2013 21:36:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.657
X-Spam-Level:
X-Spam-Status: No, score=0.657 tagged_above=-999 required=5 tests=[BAYES_20=-0.74, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=1.396]
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 3DtsoX3KPQiv for <json@ietfa.amsl.com>; Fri, 2 Aug 2013 21:36:26 -0700 (PDT)
Received: from nm42-vm3.bullet.mail.bf1.yahoo.com (nm42-vm3.bullet.mail.bf1.yahoo.com [216.109.114.190]) by ietfa.amsl.com (Postfix) with ESMTP id 548B411E80DC for <json@ietf.org>; Fri, 2 Aug 2013 21:36:26 -0700 (PDT)
Received: from [98.139.212.150] by nm42.bullet.mail.bf1.yahoo.com with NNFMP; 03 Aug 2013 04:36:25 -0000
Received: from [68.142.230.75] by tm7.bullet.mail.bf1.yahoo.com with NNFMP; 03 Aug 2013 04:36:25 -0000
Received: from [127.0.0.1] by smtp232.mail.bf1.yahoo.com with NNFMP; 03 Aug 2013 04:36:25 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1375504585; bh=A8qUrkSMcdaPnSJyW1zqbbrj620DcZ4caXixwmv5s0s=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:References:In-Reply-To:Mime-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Cc:X-Mailer:From:Subject:Date:To; b=bECYhJRthtTRnbxa8+tbxRtcNfRiY2pnJ48H1vdkdfYsTZD8QhrJ/D+p30A75F1sLY4QBRQCCIey92MiaY7Ttw2tRTdW4QdjSP9BMmJGGZjmX/JwSpHUtWnFQPO+rOJvVRivU/I7sffDP5KUgQ9Avu//7rIJwZRzeEohQKCq/Zg=
X-Yahoo-Newman-Id: 577576.52672.bm@smtp232.mail.bf1.yahoo.com
X-Yahoo-Newman-Property: ymail-3
X-YMail-OSG: sbybWhcVM1mtejn4.4jU90y.zNm.BBTEm8dHK7NfjVurCMY O0dORS0v4hPHzVGcf6BcaqWjk6INQ08xAT7GoH6YjQq9GvjHe0SMTJ7PUVfQ Lai1XMFuYrvFJ0IyNV3rRrvNDM4GaLSlSJqEDY6MFTaw_YQZ.kyUXOrNeuoI vUbgkxWJKf1A2QgD4eG3KEQpSgSNkccGuVXX6AeC0SHSA42xn7ziWiLSjukU N5QQlfM0x7.2kgrslkdydLQtSlViwwXqDwRwiaMKpyIu10kqE7EVWSxbAglQ BI1sjXgK.GJ6h.wN8uk3t2A5ta3jZWkr4zdDBMcDzGj43Cx13fl_rWRC2GjU _1LrSDIowD1m_uKxayahMHAM7AehHCgPBoaLiO3JsNWkuOlZD8lk8.Fr4_89 EHaRl3ifat7moB86MeqMj4SYimO0SaPqCzFmICiL0JbV5gsExxkFhmMHE_XE wlKi5UdYNevRUiqcPtkOFQAoUm8VrOwxYHRRcJV9vntiKa_PmioAfkE_pcTW .VQAbUZMHH6pq3zUafW6V2kxWYKP8pEXd.vVH5xzUab7ZLraGwTbM0ks5P_O e_U9dG4E5RGcKmbwpIXu4i5008KclQiZLBsEivVPcIhZNXINzGKOEeq79K2C BcyPA.btYAQ7Aano-
X-Yahoo-SMTP: indQcmSswBC8IKsm6t4aCAPskK3T
X-Rocket-Received: from [192.168.0.102] (jsontest@76.29.100.42 with ) by smtp232.mail.bf1.yahoo.com with SMTP; 03 Aug 2013 04:36:25 +0000 UTC
References: <20130730142623.GB17809@mercury.ccil.org> <20130730160719.3203.qmail@joyce.lan> <CAHBU6it7vJZ7XXj2yy=VBLXVXAueNVf0EZb+CR9rCKn+hTLdcw@mail.gmail.com>
In-Reply-To: <CAHBU6it7vJZ7XXj2yy=VBLXVXAueNVf0EZb+CR9rCKn+hTLdcw@mail.gmail.com>
Mime-Version: 1.0 (1.0)
Content-Type: multipart/alternative; boundary="Apple-Mail-8DC10F8D-6075-4F03-BB16-2AC455826D2C"
Content-Transfer-Encoding: 7bit
Message-Id: <0D68A6B5-99B5-4613-A877-0FE566BBA332@yahoo.com>
X-Mailer: iPod Mail (9B206)
From: Vinny A <jsontest@yahoo.com>
Date: Fri, 02 Aug 2013 23:36:20 -0500
To: Tim Bray <tbray@textuality.com>
Cc: John Levine <johnl@taugh.com>, "json@ietf.org" <json@ietf.org>
Subject: Re: [Json] fun with streaming, was 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: Sat, 03 Aug 2013 04:36:31 -0000

On Jul 30, 2013, at 11:39 AM, Tim Bray <tbray@textuality.com> wrote:

> Has anyone any personal knowledge of an app whose correct function depends on the use of duplicate keys?  -T

Fortunately (or unfortunately, depending on personal views)  a YC News comment thread cropped up today regarding this very issue. See https://news.ycombinator.com/item?id=6146880

Many of the comments in the above thread advocate the use of duplicate keys as a form of comments. Others are against the idea of duplicated keys, noting the problems with streaming parsers.

A lot of the discussion within the thread mirrors the conversation we've had in this mailing list for the past few months; I highly recommend reading it since this list has been looking for examples of real-world JSON uses.


-----------------
Vinny
www.jsontest.com