This pull request adds two queries that cover binary expressions in filters that refer to the length property and the length() function respectively, specifically,
$[?(@.length == 4)]
and
$[?(@.length() == 4)]
Goessner JavaScript JSONPath supports the former, Jayway Java JSONPath the latter.
The Comparisons currently have some coverage for the length property, but not in filters. There is no coverage for the length function.
This pull request adds two queries that cover binary expressions in filters that refer to the length property and the length() function respectively, specifically,
and
Goessner JavaScript JSONPath supports the former, Jayway Java JSONPath the latter.
The Comparisons currently have some coverage for the length property, but not in filters. There is no coverage for the length function.