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
init terminating in do_boot ({badmatch,{error,{1,ejsonpath_parse,syntax error before: 2}}})
Crash dump is being written to: erl_crash.dump...done
{"init terminating in do_boot",{badmatch,{error,{1,ejsonpath_parse,["syntax error before: ",["2"]]}}}}
$[-1:]
Input:
["first", "second", "third"]
Expected output:
["third"]
Error:
init terminating in do_boot ({badmatch,{error,{1,ejsonpath_parse,syntax error before: ':'}}})
Crash dump is being written to: erl_crash.dump...done
{"init terminating in do_boot",{badmatch,{error,{1,ejsonpath_parse,["syntax error before: ","':'"]}}}}
$[:]
Input:
["first", "second"]
Expected output:
["first", "second"]
Error:
init terminating in do_boot ({badmatch,{error,{1,ejsonpath_parse,syntax error before: ']'}}})
Crash dump is being written to: erl_crash.dump...done
{"init terminating in do_boot",{badmatch,{error,{1,ejsonpath_parse,["syntax error before: ","']'"]}}}}
$[1:3]
Input:
["first", "second", "third", "forth", "fifth"]
Expected output:
["second", "third"]
Actual output:
["second", "third", "forth", "fifth"]
$[0:3:2]
Input:
["first", "second", "third", "forth", "fifth"]
Expected output:
["first", "third"]
Error:
init terminating in do_boot ({not_implemented,slice})
Crash dump is being written to: erl_crash.dump...done
{"init terminating in do_boot",{not_implemented,slice}}
$[::2]
Input:
["first", "second", "third", "forth", "fifth"]
Expected output:
["first", "third", "fifth"]
Error:
init terminating in do_boot ({badmatch,{error,{1,ejsonpath_parse,syntax error before: ':'}}})
Crash dump is being written to: erl_crash.dump...done
{"init terminating in do_boot",{badmatch,{error,{1,ejsonpath_parse,["syntax error before: ","':'"]}}}}
init terminating in do_boot ({badmatch,{error,{1,ejsonpath_parse,syntax error before: }}})
Crash dump is being written to: erl_crash.dump...done
{"init terminating in do_boot",{badmatch,{error,{1,ejsonpath_parse,["syntax error before: ",[]]}}}}
Yep, most of them are known issues. But now project is not actively maintained.
If someone will create a PR I will be able to review, but unlikely will fix myself
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:
Error:
$[-1:]
Input:
Expected output:
Error:
$[:]
Input:
Expected output:
Error:
$[1:3]
Input:
Expected output:
Actual output:
$[0:3:2]
Input:
Expected output:
Error:
$[::2]
Input:
Expected output:
Error:
$..key
Input:
Expected output:
Error:
$
Input:
Expected output:
Error:
For reference, the output was generated by the program in https://github.com/cburgmer/json-path-comparison/tree/master/implementations/Erlang_ejsonpath.
The text was updated successfully, but these errors were encountered: