Re: [Json] Regarding JSON text sequence ambiguities (Re: serializing sequences of JSON values)

"Martin J. Dürst" <> Wed, 12 March 2014 09:45 UTC

Return-Path: <>
Received: from localhost ( []) by (Postfix) with ESMTP id 64C2F1A093B for <>; Wed, 12 Mar 2014 02:45:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: 0.362
X-Spam-Status: No, score=0.362 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_JP=1.244, HOST_EQ_JP=1.265, MIME_8BIT_HEADER=0.3, RP_MATCHES_RCVD=-0.547] autolearn=no
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id EgnuvgLZAJDu for <>; Wed, 12 Mar 2014 02:44:57 -0700 (PDT)
Received: from ( []) by (Postfix) with ESMTP id 6DAE91A093F for <>; Wed, 12 Mar 2014 02:44:57 -0700 (PDT)
Received: from ([]) by (secret/secret) with SMTP id s2C9igKx013828; Wed, 12 Mar 2014 18:44:42 +0900
Received: from (unknown []) by with smtp id 2812_70b7_efdb21fa_a9ca_11e3_85a3_001e6722eec2; Wed, 12 Mar 2014 18:44:41 +0900
Received: from [IPv6:::1] (unknown []) by (Postfix) with ESMTP id 93183C048C; Wed, 12 Mar 2014 18:44:41 +0900 (JST)
Message-ID: <>
Date: Wed, 12 Mar 2014 18:44:32 +0900
From: =?UTF-8?B?Ik1hcnRpbiBKLiBEw7xyc3Qi?= <>
Organization: Aoyama Gakuin University
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0
MIME-Version: 1.0
To: Phillip Hallam-Baker <>, Nico Williams <>
References: <> <> <> <> <> <> <> <>
In-Reply-To: <>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Cc: Tim Bray <>, "" <>
Subject: Re: [Json] Regarding JSON text sequence ambiguities (Re: serializing sequences of JSON values)
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "JavaScript Object Notation \(JSON\) WG mailing list" <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Wed, 12 Mar 2014 09:45:01 -0000

On 2014/03/12 04:19, Phillip Hallam-Baker wrote:
> On Tue, Mar 11, 2014 at 2:08 PM, Nico Williams <>wrote;wrote:

>> JSON text sequences would be a new Proposed Standard (if we go there)
>> but like JSON, there exist uses of this "new" thing already -- that
>> is, before we get to writing the RFC.

> I think finding a standard JSON way to meet this requirement is
> appropriate. Blessing a particular approach that isn't in the existing
> grammar is not AFIK.

For the record, I strongly agree.

Seeing claims that we need a separate spec just because an initial '[', 
interleaving ','s, and a potential(1) final ']' is too much to deal with 
really surprises me.

At the utmost, this might become an Informational RFC if some people 
really, really want it, but it should NOT become a working item of this 
group, nor should it go to standards track.

Why? JSON is great, but the more variation we get, the more we end up 
with a *big mess*, even if every step may be small and look good.

As far as I have heard (no first hand experience, fortunately), CORBA 
ended up that way. Many people, in particular in the JSON community, see 
XML that way. Similar things have been said about ASN-1, although that 
may have been complicated from the start (again, fortunately no first 
hand experience).

Maybe JSON is just next in line.

Regards,    Martin.

(1) When you write out a log, there's no need to actually write the 
final ']' and then replace it by a ','. XMPP did something very similar 
for XML streaming, please see In JSON, it's slightly 
trickier because you need an explicit separating comma, and a 'dummy' 
element before the closing ']', but that's not rocket science and well 
worth the effort to avoid format splits.