[Json] Example of JSON text sequences in the wild: Riak

Nico Williams <nico@cryptonector.com> Wed, 30 July 2014 06:13 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 2FE4C1A0184 for <json@ietfa.amsl.com>; Tue, 29 Jul 2014 23:13:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.356
X-Spam-Level:
X-Spam-Status: No, score=0.356 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, IP_NOT_FRIENDLY=0.334, RCVD_IN_DNSWL_NONE=-0.0001] 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 j6gm-jNiE3CV for <json@ietfa.amsl.com>; Tue, 29 Jul 2014 23:13:34 -0700 (PDT)
Received: from homiemail-a95.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) by ietfa.amsl.com (Postfix) with ESMTP id D715D1A00BB for <json@ietf.org>; Tue, 29 Jul 2014 23:13:34 -0700 (PDT)
Received: from homiemail-a95.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a95.g.dreamhost.com (Postfix) with ESMTP id A7A2C1E071 for <json@ietf.org>; Tue, 29 Jul 2014 23:13:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:date:message-id:subject:from:to:content-type; s= cryptonector.com; bh=Jtnecg2NI+zFeXAMCUIQKjitMqo=; b=csfYFn9oHJU EAXa/GYOzHdPHIacKffm+LAg+cBbY23X7/wclFA7/XPNFz98Oo9niIGlf1/eCb7C SpG55VrTUdQHiay7K0Ggi17Q0n8Ly9bYAasuyLt9XjHv0Enc1zIcZ35cBPCp7/7Q PBxfYTpJ0rQriDAxxam7K0L15Ilh8lkg=
Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com [209.85.212.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a95.g.dreamhost.com (Postfix) with ESMTPSA id 587771E05C for <json@ietf.org>; Tue, 29 Jul 2014 23:13:34 -0700 (PDT)
Received: by mail-wi0-f181.google.com with SMTP id bs8so1685993wib.8 for <json@ietf.org>; Tue, 29 Jul 2014 23:13:33 -0700 (PDT)
MIME-Version: 1.0
X-Received: by 10.180.108.13 with SMTP id hg13mr3000299wib.28.1406700813162; Tue, 29 Jul 2014 23:13:33 -0700 (PDT)
Received: by 10.217.98.6 with HTTP; Tue, 29 Jul 2014 23:13:33 -0700 (PDT)
Date: Wed, 30 Jul 2014 01:13:33 -0500
Message-ID: <CAK3OfOjnL_Ni-3DRENu5ZXh-1EAhuOFZzEh7Ed-XZCRaRouuZg@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: "json@ietf.org" <json@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: http://mailarchive.ietf.org/arch/msg/json/-FQ4N5IZconzLOxX4oWPxmeEmQY
Subject: [Json] Example of JSON text sequences in the wild: Riak
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: Wed, 30 Jul 2014 06:13:39 -0000

http://littleriakbook.com/
http://docs.basho.com/riak/1.1.0/references/appendices/MapReduce-Implementation/

Search for "stream".

Here's a very sad example of why a simple encoding using LF (with
internal LFs removed) would be so convenient:

http://stackoverflow.com/questions/14531708/how-can-i-delete-a-riak-bucket-in-python

Here's a node implementation that uses a streaming JSON parser:

https://github.com/nisaacson/riak-streaming-node

Here's another implementation that'd be helped by having an LF-based solution:

https://github.com/nisaacson/riak-streaming-node

Nico
--