You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, opened a bunch of those with other projects as well. Special here is that I had to resort to Docker, as I have issues running it on OS X, will follow up with issue here.
Docker is not feasible right now for maintaining the comparison project with >10 implementations and >40 queries, so the comparison against your Bash implementation is on a branch for now.
Hi! I did quite a bit of work on this over the weekend and fixed a lot of little bugs. I need to fix the json outputter for a couple of your tests which I'll get back to when I find some time again :)
The following queries provide results that do not match those of other implementations of JSONPath
(compare https://cburgmer.github.io/json-path-comparison/):
$[1:10]
Input:
Expected output:
Error:
$[-1:]
Input:
Expected output:
Actual output:
$[1:]
Input:
Expected output:
Error:
$[0:3:2]
Input:
Expected output:
Actual output:
$[0:3:1]
Input:
Expected output:
Actual output:
$['key']
Input:
Expected output:
Actual output:
$['key','another']
Input:
Expected output:
Actual output:
$['0']
Input:
Expected output:
Error:
$['special:"chars']
Input:
Expected output:
Error:
$['*']
Input:
Expected output:
Actual output:
$.key
Input:
Expected output:
Actual output:
$.key
Input:
Expected output:
Actual output:
$.key
Input:
Expected output:
Actual output:
$..key
Input:
Expected output:
Actual output:
$.store..price
Input:
Expected output:
Actual output:
$
Input:
Expected output:
Error:
$[*]
Input:
Expected output:
Error:
$[*]
Input:
Expected output:
Actual output:
$.*
Input:
Expected output:
Error:
$.*
Input:
Expected output:
Actual output:
For reference, the output was generated by the program in https://github.com/cburgmer/json-path-comparison/tree/Bash_JSONPath.sh/implementations/Bash_JSONPath.sh.
The text was updated successfully, but these errors were encountered: