The following queries provide results that do not match those of other implementations of JSONPath (compare https://cburgmer.github.io/json-path-comparison/): - [x] `$[:2]` Input: ``` ["first", "second", "third", "forth", "fifth"] ``` Expected output: ``` ["first", "second"] ``` Actual output: ``` ["first", "second", "third"] ``` - [x] `$[1:3]` Input: ``` ["first", "second", "third", "forth", "fifth"] ``` Expected output: ``` ["second", "third"] ``` Actual output: ``` ["second", "third", "forth"] ``` - [x] `$[0:3:1]` Input: ``` ["first", "second", "third", "forth", "fifth"] ``` Expected output: ``` ["first", "second", "third"] ``` Actual output: ``` ["first", "second", "third", "forth"] ``` - [x] `$[0:4:2]` Input: ``` ["first", "second", "third", "forth", "fifth"] ``` Expected output: ``` ["first", "third"] ``` Actual output: ``` ["first", "third", "fifth"] ``` - [x] `$[0:1]` Input: ``` ["first", "second"] ``` Expected output: ``` ["first"] ``` Actual output: ``` ["first", "second"] ``` - [ ] `$['key','another']` Input: ``` {"key": "value", "another": "entry"} ``` Expected output: ``` ["value", "entry"] ``` Actual output: ``` [] ``` For reference, the output was generated by the program in https://github.com/cburgmer/json-path-comparison/tree/master/implementations/PHP_flow-jsonpath.
The following queries provide results that do not match those of other implementations of JSONPath
(compare https://cburgmer.github.io/json-path-comparison/):
$[:2]Input:
Expected output:
Actual output:
$[1:3]Input:
Expected output:
Actual output:
$[0:3:1]Input:
Expected output:
Actual output:
$[0:4:2]Input:
Expected output:
Actual output:
$[0:1]Input:
Expected output:
Actual output:
$['key','another']Input:
Expected output:
Actual output:
For reference, the output was generated by the program in https://github.com/cburgmer/json-path-comparison/tree/master/implementations/PHP_flow-jsonpath.