Re: [Jsonpath] JSONPath draft charter

Carsten Bormann <cabo@tzi.org> Wed, 02 September 2020 07:40 UTC

Return-Path: <cabo@tzi.org>
X-Original-To: jsonpath@ietfa.amsl.com
Delivered-To: jsonpath@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CD6663A0BCF for <jsonpath@ietfa.amsl.com>; Wed, 2 Sep 2020 00:40:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=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 33YCwYy8xJA6 for <jsonpath@ietfa.amsl.com>; Wed, 2 Sep 2020 00:39:58 -0700 (PDT)
Received: from gabriel-vm-2.zfn.uni-bremen.de (gabriel-vm-2.zfn.uni-bremen.de [134.102.50.17]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 53FF63A0B9D for <jsonpath@ietf.org>; Wed, 2 Sep 2020 00:39:58 -0700 (PDT)
Received: from [192.168.217.102] (p5089ae91.dip0.t-ipconnect.de [80.137.174.145]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-vm-2.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4BhG6z5WHdzyZb; Wed, 2 Sep 2020 09:39:55 +0200 (CEST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.1\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <CAL0qLwb4WtQEKcnPmPYhkXp4_0rYjJKC52SEVtuxiG3MCVtXjQ@mail.gmail.com>
Date: Wed, 02 Sep 2020 09:39:54 +0200
Cc: Tim Bray <tbray@textuality.com>, "jsonpath@ietf.org" <jsonpath@ietf.org>
X-Mao-Original-Outgoing-Id: 620725194.709952-91b9f48d5a6d5cda99606ea683bcd2e8
Content-Transfer-Encoding: quoted-printable
Message-Id: <2498CFE1-D301-4238-AD9E-926817C4D7E5@tzi.org>
References: <mailman.38.1597172408.10748.jsonpath@ietf.org> <CA+mwktKSMn0e3Xh5K3z-wxeC_icx3dnepWvxKu74miGqLb_wxA@mail.gmail.com> <AEE0C02D-DF63-4CEF-AC78-08180BC0B0F2@tzi.org> <CAHBU6ivxaeKRm8+5_DiP=qtpiWXEffD374n6dxx4bgJTt1nCbw@mail.gmail.com> <22C87C6B-F7FB-4074-8EEF-118AA28AB61B@tzi.org> <3AC3C075-2CA3-4DDC-BEE8-C3C4B179A61B@vmware.com> <CAHBU6ivA79KFJa4DfO4BEdGJ1K9pWP+cgHC4tegNjW90favxAw@mail.gmail.com> <CAL0qLwb4WtQEKcnPmPYhkXp4_0rYjJKC52SEVtuxiG3MCVtXjQ@mail.gmail.com>
To: "Murray S. Kucherawy" <superuser@gmail.com>
X-Mailer: Apple Mail (2.3608.120.23.2.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/jsonpath/ssxMPZ2_XU2xqPqTBGSMydr6ztQ>
Subject: Re: [Jsonpath] JSONPath draft charter
X-BeenThere: jsonpath@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: A summary description of the list to be included in the table on this page <jsonpath.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jsonpath>, <mailto:jsonpath-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/jsonpath/>
List-Post: <mailto:jsonpath@ietf.org>
List-Help: <mailto:jsonpath-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jsonpath>, <mailto:jsonpath-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2020 07:40:02 -0000

On 2020-09-02, at 06:45, Murray S. Kucherawy <superuser@gmail.com> wrote:
> 
> I anticipate being asked "Why is JSON Pointer not sufficient?"  Indeed its abstract says:

I’m trying to answer this on the slide at

https://youtu.be/Ujch6Wukjc0?t=48

The short answer is that JSON pointer is good if you already know the structure of the JSON data item you want to point into, and you want to point to exactly one position in there.  If you need to do something that is closer to a “search” (which might also result in multiple positions), JSONPath gives you more rope.

BTW, for easier editing/PR-ing I have put up Tim’s proposal with Brian’s proposed changes at
https://github.com/jsonpath-wg/charter/blob/master/charter.txt

Grüße, Carsten