Filter expression with greater than string

Setup

Selector: $[?(@.key>"VALUE")]

[
    {"key": 0},
    {"key": 42},
    {"key": -1},
    {"key": 41},
    {"key": 43},
    {"key": 42.0001},
    {"key": 41.9999},
    {"key": 100},
    {"key": "43"},
    {"key": "42"},
    {"key": "41"},
    {"key": "alpha"},
    {"key": "ALPHA"},
    {"key": "value"},
    {"key": "VALUE"},
    {"some": "value"},
    {"some": "VALUE"}
]

Results

Consensus

[
  {
    "key": "alpha"
  },
  {
    "key": "value"
  }
]

Other responses

Bash (JSONPath.sh)

[]

C (json-glib)

Not supported

Unable to compile selector `$[?(@.key>"VALUE")]': Invalid array index definition “?(@.key>"VALUE")]”

Elixir (jaxon)

[]

Golang (github.com-PaesslerAG-jsonpath) ¹

Not supported

parsing error: $[?(@.key>"VALUE")]	:1:10 - 1:11 unexpected ">" while scanning parentheses expected ")"

Golang (github.com-oliveagle-jsonpath) ¹

[]

Golang (github.com-vmware-labs-yaml-jsonpath)

[]

Java (com.github.jsurfer)

Not supported

org.antlr.v4.runtime.misc.ParseCancellationException

Kotlin (com.nfeld.jsonpathkt) ¹

Not supported

Unexpected char, char=?, index=2

PHP (remorhaz-jsonpath)

[]

Python (jsonpath-ng)

Not supported

JsonPathLexerError('Error on line 1, col 2: Unexpected character: ? ')

Python (jsonpath-rw)

Not supported

JsonPathLexerError('Error on line 1, col 2: Unexpected character: ? ')

Python (jsonpath2)

[]

Raku (JSON-Path)

Not supported

Evaluation of embedded Perl 6 code not allowed (construct with :allow-eval)

Rust (jsonpath)

Not supported

parsing error

Rust (jsonpath_plus)

[]

Swift (Sextant)

[
  {
    "key": 42.0001
  },
  {
    "key": 41.9999
  },
  {
    "key": "alpha"
  },
  {
    "key": "value"
  }
]

dotNET (Json.NET)

Not supported

Unexpected character while parsing path query: "

Errors

Clojure (json-path) ¹

java.lang.ClassCastException class java.lang.String cannot be cast to class java.lang.Number (java.lang.String and java.lang.Number are in module java.base of loader 'bootstrap')

PHP (Goessner) ²

ArgumentCountError

Perl (JSON-Path)

non-safe evaluation, died at main.pl line 11.

Ruby (jsonpath)

comparison of Float with String failed

Footnotes