{"key": "value", "another key": {"complex": "string", "primitives": [0, 1]}}
["string", "value", 0, 1, [0, 1], {"complex": "string", "primitives": [0, 1]}]
** (MatchError) no match of right hand side value: {:error, %ExJSONPath.ParsingError{message: "syntax error before: '*'"}}
lib/jsonpath.ex:7: Mix.Tasks.Execute.run/1
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:
Error:
$[0:0]Input:
Expected output:
Actual output:
$[-4:]Input:
Expected output:
Actual output:
$..[0]Input:
Expected output (in any order as no consensus on ordering exists):
Error:
$[*]Input:
Expected output:
Error:
$.key-dashInput:
Expected output:
Error:
$.屬性Input:
Expected output:
Error:
$.2Input:
Expected output:
Actual output:
$..*Input:
Expected output (in any order as no consensus on ordering exists):
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/Elixir_ExJsonPath.