Re: [Json] serializing sequences of JSON values
"Paul E. Jones" <paulej@packetizer.com> Sun, 09 March 2014 16:41 UTC
Return-Path: <paulej@packetizer.com>
X-Original-To: json@ietfa.amsl.com
Delivered-To: json@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 38E961A025E for <json@ietfa.amsl.com>; Sun, 9 Mar 2014 09:41:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.917
X-Spam-Level:
X-Spam-Status: No, score=0.917 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_ADSP_ALL=0.8, DKIM_SIGNED=0.1, FRT_ADOBE2=2.455, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-0.547, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_DKIM_INVALID=0.01] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oIIBrVAq0OJf for <json@ietfa.amsl.com>; Sun, 9 Mar 2014 09:41:55 -0700 (PDT)
Received: from dublin.packetizer.com (dublin.packetizer.com [75.101.130.125]) by ietfa.amsl.com (Postfix) with ESMTP id 985341A0277 for <json@ietf.org>; Sun, 9 Mar 2014 09:41:55 -0700 (PDT)
Received: from [10.54.74.194] (161-239.197-178.cust.bluewin.ch [178.197.239.161]) (authenticated bits=0) by dublin.packetizer.com (8.14.5/8.14.5) with ESMTP id s29GfNVu008279 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 9 Mar 2014 12:41:24 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=packetizer.com; s=dublin; t=1394383286; bh=c7FYpivKLERhVe4vjqxt20nToTbkeeSXnom5ePZVBSs=; h=In-Reply-To:References:MIME-Version:Content-Type: Content-Transfer-Encoding:Subject:From:Date:To:CC:Message-ID; b=dQdjinJ7FOFaCE3UT++xT3+BmNVvbGeqA4C6MV9xsy5joS3OhHzIaTwLcRjlU328t 2HwLXMOkh6P/kZ7ACwaOGPA3vj3iooXf8dv/UBJbMn43ZEFj2QasSOXSKRbrt+aKkO gW8m5hiKeElwDEaUl2ILYt7LJrwAdTshak7x1qxU=
User-Agent: K-9 Mail for Android
In-Reply-To: <20140309143608.GA14656@mercury.ccil.org>
References: <c19534113ff9489abcc4402fae3c1f62@BL2PR02MB307.namprd02.prod.outlook.com> <20140309143608.GA14656@mercury.ccil.org>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----0GIV87QKVNN717ZVMU3CEZTYZ6X22Y"
Content-Transfer-Encoding: 8bit
From: "Paul E. Jones" <paulej@packetizer.com>
Date: Sun, 09 Mar 2014 12:41:21 -0400
To: John Cowan <cowan@mercury.ccil.org>, Larry Masinter <masinter@adobe.com>
Message-ID: <65449749-1e0e-40c8-9277-bd255b4c302f@email.android.com>
Archived-At: http://mailarchive.ietf.org/arch/msg/json/MyDiLchjuSaJ70Uh8I1znZarW8k
X-Mailman-Approved-At: Mon, 10 Mar 2014 00:55:34 -0700
Cc: Pete Resnick <presnick@qti.qualcomm.com>, Bjoern Hoehrmann <derhoermi@gmx.net>, Paul Hoffman <paul.hoffman@vpnc.org>, "json@ietf.org" <json@ietf.org>, Tim Bray <tbray@textuality.com>, "Joe Hildebrand (jhildebr)" <jhildebr@cisco.com>, "Matt Miller (mamille2)" <mamille2@cisco.com>, Barry Leiba <barryleiba@computer.org>, "rfc7158@schmorp.de" <rfc7158@schmorp.de>
Subject: Re: [Json] serializing sequences of JSON values
X-BeenThere: json@ietf.org
X-Mailman-Version: 2.1.15
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, 09 Mar 2014 16:41:57 -0000
Right. That gets us back to the old definition. Writing an array or object makes sense, but an integer and then another seems like it just makes things unnecessarily confusing. Somewhere, somehow there must be whitespace inserted between those. Paul -------- Original Message -------- From: John Cowan <cowan@mercury.ccil.org> Sent: March 9, 2014 10:36:08 AM EDT To: Larry Masinter <masinter@adobe.com> Cc: "Paul E. Jones" <paulej@packetizer.com>, "Joe Hildebrand (jhildebr)" <jhildebr@cisco.com>, Tim Bray <tbray@textuality.com>, Pete Resnick <presnick@qti.qualcomm.com>, Bjoern Hoehrmann <derhoermi@gmx.net>, Paul Hoffman <paul.hoffman@vpnc.org>, "json@ietf.org" <json@ietf.org>, "Matt Miller (mamille2)" <mamille2@cisco.com>, Barry Leiba <barryleiba@computer.org>, "rfc7158@schmorp.de" <rfc7158@schmorp.de> Subject: Re: [Json] serializing sequences of JSON values Larry Masinter scripsit: > If you want to write out a sequence of JSON values you would write them out as an array with [] around and comma separators. That would be a single JSON value, not a sequence thereof. -- Income tax, if I may be pardoned for saying so, John Cowan is a tax on income. --Lord Macnaghten (1901) cowan@ccil.org
- [Json] serializing sequences of JSON values Larry Masinter
- Re: [Json] serializing sequences of JSON values John Cowan
- Re: [Json] serializing sequences of JSON values Paul E. Jones
- Re: [Json] serializing sequences of JSON values Tim Bray
- Re: [Json] serializing sequences of JSON values Tatu Saloranta
- Re: [Json] serializing sequences of JSON values Nico Williams
- Re: [Json] serializing sequences of JSON values Paul E. Jones
- Re: [Json] serializing sequences of JSON values Jacob Davies
- Re: [Json] serializing sequences of JSON values Phillip Hallam-Baker
- Re: [Json] serializing sequences of JSON values Paul E. Jones
- Re: [Json] serializing sequences of JSON values Phillip Hallam-Baker
- Re: [Json] serializing sequences of JSON values Paul Hoffman
- Re: [Json] serializing sequences of JSON values Phillip Hallam-Baker
- Re: [Json] serializing sequences of JSON values Marc Lehmann
- Re: [Json] serializing sequences of JSON values Nico Williams
- Re: [Json] serializing sequences of JSON values Nico Williams
- Re: [Json] serializing sequences of JSON values Larry Masinter
- Re: [Json] serializing sequences of JSON values Matt Miller
- Re: [Json] serializing sequences of JSON values Martin J. Dürst
- Re: [Json] serializing sequences of JSON values Tatu Saloranta
- Re: [Json] serializing sequences of JSON values Nico Williams
- Re: [Json] serializing sequences of JSON values Tatu Saloranta
- Re: [Json] serializing sequences of JSON values Nico Williams
- Re: [Json] serializing sequences of JSON values Nico Williams
- Re: [Json] serializing sequences of JSON values Carsten Bormann
- Re: [Json] serializing sequences of JSON values Nico Williams
- Re: [Json] serializing sequences of JSON values Matt Miller
- Re: [Json] serializing sequences of JSON values Tatu Saloranta
- Re: [Json] serializing sequences of JSON values Jacob Davies
- Re: [Json] serializing sequences of JSON values Nico Williams
- Re: [Json] serializing sequences of JSON values Carsten Bormann
- Re: [Json] serializing sequences of JSON values Tim Bray
- Re: [Json] serializing sequences of JSON values John Cowan
- Re: [Json] serializing sequences of JSON values Phillip Hallam-Baker
- Re: [Json] serializing sequences of JSON values Nico Williams
- Re: [Json] serializing sequences of JSON values Jim Schaad
- Re: [Json] serializing sequences of JSON values Tatu Saloranta