Re: [Json] Proposed rechartering for the JSON WG

Nico Williams <nico@cryptonector.com> Sun, 09 February 2014 00:22 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 330811A0658 for <json@ietfa.amsl.com>; Sat, 8 Feb 2014 16:22:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.378
X-Spam-Level:
X-Spam-Status: No, score=-1.378 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, 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 HAVEqyLnQ_cX for <json@ietfa.amsl.com>; Sat, 8 Feb 2014 16:22:24 -0800 (PST)
Received: from homiemail-a88.g.dreamhost.com (caiajhbdcbhh.dreamhost.com [208.97.132.177]) by ietfa.amsl.com (Postfix) with ESMTP id CFFFD1A0655 for <json@ietf.org>; Sat, 8 Feb 2014 16:22:24 -0800 (PST)
Received: from homiemail-a88.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a88.g.dreamhost.com (Postfix) with ESMTP id 5C227264057 for <json@ietf.org>; Sat, 8 Feb 2014 16:22:25 -0800 (PST)
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=syHs4mD25vkHssodr/e5 vB+xobs=; b=yIxi0YuR7ZqNHwxNPohQLZ8UwL8Tnj5q8dTlwy5e1+Lac7Gs2CE1 U8vVyxxYx2BZ/dAsfunILnlOufk+WRnrQ4y9wjtzjVpqQdSiNzFBjWQIvCO8rzaR MzEldplAYdAskmUUDDyh5Yu80BbQwWENQC1u8l/3fnK8JtAu26f2H/Q=
Received: from mail-wi0-f170.google.com (mail-wi0-f170.google.com [209.85.212.170]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a88.g.dreamhost.com (Postfix) with ESMTPSA id 0EF4B264058 for <json@ietf.org>; Sat, 8 Feb 2014 16:22:24 -0800 (PST)
Received: by mail-wi0-f170.google.com with SMTP id hi5so1787207wib.3 for <json@ietf.org>; Sat, 08 Feb 2014 16:22:23 -0800 (PST)
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=9sQr5r/O2zFWaUQQ602MJpWTdaKtapBAufZZbmYBxQs=; b=RlqC6hKdGwGraVAE+Z+CwW8ezsQDvRjgeuOzhOQUEQ+SuBmeCIbrSEUa4WCYVsa6dN RPoS4AxQyYhszIGfFW13geFi4V+uDeTtgSW/RPm85FHI8soWSsbVczg+xkAz3gxVrPpa yT2ark8Yi7CZp21YgiVJCXI/aUbaleJOu02OjPawIan/FqAKTbrJeUiIhw8o0gidKr20 Dal4SvV41xXJfhnkblQzRaRD0k9tohnOnAOLl45fld9c3lNvY2CmzdvvmpV5es+puac4 jZz62cpZ6hnIMBlRnV2BTuUvQ5ZW+U0o8f7sgZwZ8PUxPPJcKTTumAm3xUJ8yioVaO/x O0zA==
MIME-Version: 1.0
X-Received: by 10.180.96.102 with SMTP id dr6mr4886523wib.61.1391905343332; Sat, 08 Feb 2014 16:22:23 -0800 (PST)
Received: by 10.227.198.69 with HTTP; Sat, 8 Feb 2014 16:22:23 -0800 (PST)
In-Reply-To: <CAHBU6isUs76sXdcH5gNMrZKr4XpcZdEziHjrHzUpHDvKXcvyWg@mail.gmail.com>
References: <52D9B39C.5020102@cisco.com> <1C1347D2-0D99-4D49-B4C1-199246167D23@vpnc.org> <CAMm+Lwj0phrmP563tBbZJKHeYw=Azh1as6GZOA6rANPpC6PJgA@mail.gmail.com> <CAHBU6iv+-9xQYAjZdfZk7+GeA6J+sjaV5era3L+PiJ9RoauBYg@mail.gmail.com> <CAMm+Lwh0O4+iuaJMUhYgj+0GS8e9b_nZtNNX91hOmjUypsgkTQ@mail.gmail.com> <CAK3OfOhu0GZY9CVQrqD4SyjHLVEoEg1DtYj_6imZbbHtzX2eEw@mail.gmail.com> <CAHBU6iuR0MPm9q483jBMqTRkGV1f2giGNhp+UciQ7rRnrvcEBA@mail.gmail.com> <CAK3OfOj7Ti+rRGXXdMQwFvErUrbG34N8Wn0JqGhaKBA4=ri-nA@mail.gmail.com> <CAHBU6isUs76sXdcH5gNMrZKr4XpcZdEziHjrHzUpHDvKXcvyWg@mail.gmail.com>
Date: Sat, 08 Feb 2014 18:22:23 -0600
Message-ID: <CAK3OfOgNvZJA2qz9fgsMoP81zdgFx4ux+EgAVLW1Ka2vjX3kiQ@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Tim Bray <tbray@textuality.com>
Content-Type: text/plain; charset="UTF-8"
Cc: Phillip Hallam-Baker <hallam@gmail.com>, Paul Hoffman <paul.hoffman@vpnc.org>, "json@ietf.org" <json@ietf.org>
Subject: Re: [Json] Proposed rechartering for the JSON WG
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 Feb 2014 00:22:26 -0000

On Sat, Feb 8, 2014 at 5:52 PM, Tim Bray <tbray@textuality.com> wrote:
> On Sat, Feb 8, 2014 at 2:50 PM, Nico Williams <nico@cryptonector.com> wrote:
>> An XPath/XSLT for JSON would be good.  There's a great candidate for
>> that: http://stedolan.github.io/jq .
>
> jq seems like overkill. Wow, would it ever be easy to do a JSON path
> selector.   They practically read themselves

jq let's you do exactly that, and more too (just like XPath, and
especially XSLT).

It is missing an operator that trivially allows writing things like
//"buffer"/"size", but it's not hard to write a utility function that
allows it, and the manual has examples of this sort of thing using the
recurse built-in.  (I'll probably end up contributing such a thing;
it'd make sense to parse ..buffer.size and turning it into a search
for objects with a buffer name whose value is an object with a size
name.)

Nico
--