Re: [Json] serializing sequences of JSON values

Nico Williams <nico@cryptonector.com> Fri, 14 March 2014 16:37 UTC

Return-Path: <nico@cryptonector.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 00D821A018D for <json@ietfa.amsl.com>; Fri, 14 Mar 2014 09:37:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.753
X-Spam-Level: *
X-Spam-Status: No, score=1.753 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FH_RELAY_NODNS=1.451, FM_FORGED_GMAIL=0.622, HELO_MISMATCH_COM=0.553, IP_NOT_FRIENDLY=0.334, RDNS_NONE=0.793] 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 EZRSx7P22vpY for <json@ietfa.amsl.com>; Fri, 14 Mar 2014 09:37:39 -0700 (PDT)
Received: from homiemail-a89.g.dreamhost.com (unknown [69.163.253.184]) by ietfa.amsl.com (Postfix) with ESMTP id 813DE1A017C for <json@ietf.org>; Fri, 14 Mar 2014 09:37:25 -0700 (PDT)
Received: from homiemail-a89.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a89.g.dreamhost.com (Postfix) with ESMTP id 9047431805D for <json@ietf.org>; Fri, 14 Mar 2014 09:37:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type; s=cryptonector.com; bh=whzBDwHxFBmsEhgvp0Aw i0/fv3A=; b=IT1n0JJllYMcqA11dsyUcylBy8QfyXfIU2i6T113nm1qi6gxeNNq 93eYSE54tyvf2rGsYvUxC8tg5flCJUkfXyhjF3q2P1LpbB+sHYuoOy91z+NknQAT McgLTaJ568x/lxj505FB3H+40Q2yA7CcNXTneRE0UjNn6lGYzX7taXI=
Received: from mail-wg0-f49.google.com (mail-wg0-f49.google.com [74.125.82.49]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a89.g.dreamhost.com (Postfix) with ESMTPSA id 42280318057 for <json@ietf.org>; Fri, 14 Mar 2014 09:37:18 -0700 (PDT)
Received: by mail-wg0-f49.google.com with SMTP id a1so2429090wgh.32 for <json@ietf.org>; Fri, 14 Mar 2014 09:37:17 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=IVOF5cLGiTJ6Pth9BJaJnX2Gant7WMsfyuhfEtWa59Q=; b=ANZS3SZhXvV+asN4EugWN7+n4vW7RYMGSoddq40PMVukATnNkSEvDKTcz6Lis1WnmM Sp3kEOjkVLHgzWpYUPe1/kunfGBDvFtmr1hQImCAh3LRxK2AQAQ/dzRZMhl17TtBsm7g vBREe6BdhU9snF7xo4dYh4UcvtInkG3k8p5WZWZgMxmyJrAc6rj90JO1B5x3ecJoHbVb GiDZx44BV0CT19W6MLp8jdau4AfUfDn4wmWZGHITanEg9qXwd6kJ/NtpW4aN9rRXTAGB YLT1bxdW+6zlhIyoiBNI/hk35ShhwT2vak5ibAzMoj4qnHPM+ZEnE+aLazGt+dfWhYUE 6xBw==
MIME-Version: 1.0
X-Received: by 10.180.77.74 with SMTP id q10mr6940532wiw.39.1394815037036; Fri, 14 Mar 2014 09:37:17 -0700 (PDT)
Received: by 10.216.199.6 with HTTP; Fri, 14 Mar 2014 09:37:16 -0700 (PDT)
In-Reply-To: <CAK3OfOj3e7pqj5R-ggHhXfaN5p1CG+6djiLizaRE2nJnF1ivGA@mail.gmail.com>
References: <em2c025504-6532-4513-a339-3d71c4cdfbda@helsinki> <5FC8412F-30E5-4F80-AB63-6715B1053098@vpnc.org> <58a4b20f768b484c94a850c4eba71ec5@BL2PR02MB307.namprd02.prod.outlook.com> <53222FFC.8070204@cisco.com> <5322714F.6080508@it.aoyama.ac.jp> <CAGrxA26HRqa+R580qfEMXU_JGid-UDzwwmQigOkOW0OWuA9mpg@mail.gmail.com> <CAK3OfOier6uQ4nVuuCP+uWV+eRbYh8qqAi4FVdWqNLHOh94L+A@mail.gmail.com> <CAGrxA275TwvbUkAT7tp9NtgTDN1WwPNP33aKmAZdB7QJkSY0CA@mail.gmail.com> <CAK3OfOj3e7pqj5R-ggHhXfaN5p1CG+6djiLizaRE2nJnF1ivGA@mail.gmail.com>
Date: Fri, 14 Mar 2014 11:37:16 -0500
Message-ID: <CAK3OfOhYxRR1ii3=eezXAmUR1ArpZDmAzbjRdHL2ASQ7Y1deDw@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Tatu Saloranta <tsaloranta@gmail.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: http://mailarchive.ietf.org/arch/msg/json/8ynExNnoQ0l_-620bNTTdkowco8
Cc: Matt Miller <mamille2@cisco.com>, "json@ietf.org" <json@ietf.org>
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: Fri, 14 Mar 2014 16:37:41 -0000

The most interoperable form of JSON text sequence would be this:
encoders MUST not use newlines in their JSON text encodings and MUST
follow each JSON text with a newline.