Subject: Re: [Jsonpath] Odd syntaxes in libraries

From: Greg Dennis <[email-masked]>
Date: Thu, 8 Jul 2021 19:52:50 +0000 (UTC)

Another SO question regarding this syntax. In this question, the asker expresses confusion after finding the syntax deep in their systems.
https://stackoverflow.com/q/68304125/878701
Greg

  On Sun, 27 Jun 2021 at 12:51 pm, Greg Dennis<gregsdennis=[email-masked]> wrote:   I just came across a StackOverflow question (https://stackoverflow.com/a/68145809/878701) where the answer highlighted a feature of Jayway JsonPath: Filter Predicates (https://github.com/json-path/JsonPath)
The syntax is a bracketed selector with a lone question mark: $.user[?].
This is akin to string interpolation or substitution where the question mark is eventually substituted for a filter that's defined in code. (I'm not sure what would happen if the user tried to "stringify" such a path.)
My concern is that this kind of feature seems to say that this syntax is supported by JSON Path, when it's not.
Just wanted to keep people aware of things found in the wild.
Greg-- 
Jsonpath mailing list
[email-masked]
https://www.ietf.org/mailman/listinfo/jsonpath