We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following queries provide results that do not match those of other implementations of JSONPath (compare https://cburgmer.github.io/json-path-comparison/):
$[1:3] Input:
$[1:3]
{":": 42, "more": "string", "a": 1, "b": 2, "c": 3}
Expected output:
[]
Actual output:
[null, null]
$[0:0] Input:
$[0:0]
["first", "second"]
["first"]
$[-4:] Input:
$[-4:]
["first", "second", "third"]
["third"]
$[*] Input:
$[*]
{}
Error:
divided by 0
{"some": "string", "int": 42, "object": {"key": "value"}, "array": [0, 1]}
["string", 42, [0, 1], {"key": "value"}]
[null, null, null, null]
$.2 Input:
$.2
{"a": "first", "2": "second", "b": "third"}
["second"]
[null]
$.*.bar.* Input:
$.*.bar.*
[{"bar": [42]}]
[42]
[[42]]
$..* Input:
$..*
[40, null, 42]
[[40, null, 42], 40, null, 42]
42
$.* Input:
$.*
[[]]
[{}]
For reference, the output was generated by the program in https://github.com/cburgmer/json-path-comparison/tree/master/implementations/Ruby_jsonpath.
See #115 for a previous report. I have tried to avoid repeating previously mentioned queries.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The following queries provide results that do not match those of other implementations of JSONPath
(compare https://cburgmer.github.io/json-path-comparison/):
$[1:3]
Input:
Expected output:
Actual output:
$[0:0]
Input:
Expected output:
Actual output:
$[-4:]
Input:
Expected output:
Actual output:
$[*]
Input:
Expected output:
Error:
$[*]
Input:
Expected output:
Actual output:
$.2
Input:
Expected output:
Actual output:
$.*.bar.*
Input:
Expected output:
Actual output:
$..*
Input:
Expected output:
Actual output:
$..*
Input:
Expected output:
Actual output:
$.*
Input:
Expected output:
Actual output:
$.*
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/Ruby_jsonpath.
See #115 for a previous report. I have tried to avoid repeating previously mentioned queries.
The text was updated successfully, but these errors were encountered: