["first", "second", "third"]
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: ","':'"]}}}}
The following queries provide results that do not match those of other implementations of JSONPath
(compare https://cburgmer.github.io/json-path-comparison/):
$.2Input:
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:
$..keyInput:
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.