On Nov 24, 2022, at 12:16, David G. Johnston <david(dot)g(dot)johnston(at)gmail(dot)com> wrote:
> There is a bug in this area though the syntax itself is valid since you've simply defined a variable.
Sorry, I don’t follow. What variable is defined? I mean `$` is a variable for the whole expression, and always required at the start of a JSONPath, AFAICT. But when running
select '{"foo": 1}' @? ‘$foo'
or
select '{}' @? ‘$foo'
(both of which incorrectly return true), there is no `$foo` path; it has to be `$.foo`.
Best,
David