Re: [Jsonpath] JSONPath or JMESPath

Tim Bray <tbray@textuality.com> Tue, 11 August 2020 17:45 UTC

Return-Path: <tbray@textuality.com>
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 E610C3A0598 for <jsonpath@ietfa.amsl.com>; Tue, 11 Aug 2020 10:45:40 -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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=textuality-com.20150623.gappssmtp.com
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 M8wc8v8p8j5X for <jsonpath@ietfa.amsl.com>; Tue, 11 Aug 2020 10:45:39 -0700 (PDT)
Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [IPv6:2a00:1450:4864:20::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 98BCC3A03FC for <jsonpath@ietf.org>; Tue, 11 Aug 2020 10:45:37 -0700 (PDT)
Received: by mail-lj1-x22f.google.com with SMTP id g6so14447122ljn.11 for <jsonpath@ietf.org>; Tue, 11 Aug 2020 10:45:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=textuality-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=I+52LZUOgjvPVJD61PxpYiojsUAb3HPhBfUL6S0KWIw=; b=CCy1mzT6q43sH46ulsJBOGdSvFwgAwBN+r8fTJaJIQak+W0T8PkCky7Jih+sdy96cA v4CJPn6WUPlSEdVpu1g7ebXwTCG/S/KaCmi3+2qT96yFxcs1eXAuvoiAsOQO+BZ3BX56 i9CP1PUPiAx0njooLsgu9fSJAlZ16HEFSQ94QTyyIZGw32a00dP14t3MadVQ1x6FHHsc vukbhWAp4bCVHNoE1vNNJnKwfkww7cCDf9yF2bx/i+xaLPWmRwiOJ2G+seN5Ipn/SpGD mOnax6PQ1ruHX1+hqHwZg+Eoh47pPTEWlrjq/fpRqsYRo2fypUv3+R3IMtXqQbN4zQaO zVtw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=I+52LZUOgjvPVJD61PxpYiojsUAb3HPhBfUL6S0KWIw=; b=FfbdRYQabvyFWGwKHHNY/lUd0Hjnw5y8O1YUgae7o9uvoRFWoaldLUcTMx4k2S8/Wc Tf3qg2kK737hWv4pMNuS+ZhO6CjnCK4nY0ZXWRK/xFbR0uNNRv7alBgTGdE9vdon80bg 3obE4mAPYqHj/uQxRqdSin9D+/bHikpwqoqSQLf954mQwl8QJvki4LmaBsqgMn5fZol5 UHWMNCsTA/9cXg6dmCtG6IWlm40oAQT29bOPC3MNqnmlC32yZ6KEgIR+PhQRik0OqO0c CUY3gwh/fHIuirDFvfSMWG/USeYXHnOlWNPE25pNZDiFe5dji9A7+PvbgnRxv5wBi4ix ZXUw==
X-Gm-Message-State: AOAM5307RpS9PUEWqlR76+s1cN6zqsZcsqGDUE0kzkC0WeO3jfm13Jng WVI/juSxSIOTzfoObQn7cuFa/A7F3I8UInEjwzjBhw==
X-Google-Smtp-Source: ABdhPJxP/7s/dOUHFINANm8e85VVrlAdrMuXZ4AzmfN1XKEkcvRBWDftP/oZ/gbhF+F5E6v1M5Ix9zI5HnBjXHlnlHY=
X-Received: by 2002:a05:651c:284:: with SMTP id b4mr3558796ljo.278.1597167934837; Tue, 11 Aug 2020 10:45:34 -0700 (PDT)
MIME-Version: 1.0
References: <C5A814CE-888E-427F-85F2-45C846174353@tzi.org> <B59E287E-E7B7-4B95-A13B-D4E4FA161E17@dilettant.eu>
In-Reply-To: <B59E287E-E7B7-4B95-A13B-D4E4FA161E17@dilettant.eu>
From: Tim Bray <tbray@textuality.com>
Date: Tue, 11 Aug 2020 10:45:23 -0700
Message-ID: <CAHBU6isYW2A54dK9mABjVPweoCMtZQnHeXuGi0ydDRAo3idqyA@mail.gmail.com>
To: Stefan Hagen <stefan@dilettant.eu>
Cc: Carsten Bormann <cabo@tzi.org>, Davide Bettio <davide.bettio@ispirata.com>, jsonpath@ietf.org
Content-Type: multipart/alternative; boundary="000000000000672fea05ac9da34b"
Archived-At: <https://mailarchive.ietf.org/arch/msg/jsonpath/XPflMZpn-qj--hLH0i-gZX0rZb4>
Subject: Re: [Jsonpath] JSONPath or JMESPath
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: Tue, 11 Aug 2020 17:45:41 -0000

Sounds like JMESPath is already reasonably well-defined. JSONPath isn't.
JSONPath is widely adopted and in my most recent job, lack of a
standardized definition was a real problem. So it sounds to me like there's
more value for the IETF to add with JSONPath.

On Tue., Aug. 11, 2020, 10:22 a.m. Stefan Hagen, <stefan@dilettant.eu>
wrote:

>
> Am 11.08.2020 um 18:30 schrieb Carsten Bormann <cabo@tzi.org>:
>
> On 2020-08-11, at 18:17, Davide Bettio <davide.bettio@ispirata.com>
> wrote:
>
>
> Hello,
>
>
> Darrel Miller on dispatch@ietf.org started a "JSONPath or JMESPath"
>
> thread,
>
>
> Right, please find (and read) the thread here:
>
> https://mailarchive.ietf.org/arch/msg/dispatch/FoCwaHJVIqJP78GdHT-IaDH32ks/
>
> The reasons he gave for choosing JMESPath are exactly the ones that made
> me propose the activity this mailing list has been created for.
>
> I think we should take a decision on this topic before making
>
> any other decision.
>
>
> It is a bit outside the scope, as this mailing list was created for
> standardizing JSONPath, but we certainly don’t want to expend the effort
> for that if JMESPath is already the solution.
> I can’t reach https://www.jmespath.org/ at the moment, so
>
>
> Try without the www: https://jmespath.org/ works for me while the above
> URL does not.. Or one can start from pypi or
> https://github.com/jmespath/jmespath.py
>
>
> If we go for JMESPath, discussing JSONPath here would be useless, so
>
> can we prioritise this topic?
>
>
> Sure.  So what are the advantages of JMESPath over JSONPath that are not
> about what we’ve set out to do here?
>
> Grüße, Carsten
>
> --
> Jsonpath mailing list
> Jsonpath@ietf.org
> https://www.ietf.org/mailman/listinfo/jsonpath
>
>
> Best,
> Stefan
> --
> Jsonpath mailing list
> Jsonpath@ietf.org
> https://www.ietf.org/mailman/listinfo/jsonpath
>