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
Currently, inner search results are not squashed, like in other parsers, e.g.:
See examples below.
Test JSON:
{ "A": [ "string", 23.3, 3, true, false, null ], "B": "value", "C": 3.14, "D": { "C": 3.1415, "V": [ "string2a", "string2b", { "C": 3.141592 } ] }, "E": { "A": [ "string3" ], "D": { "V": { "C": 3.14159265 } } }, "F": { "V": [ "string4a", "string4b", { "CC": 3.1415926535 }, { "CC": "hello" }, [ "string5a", "string5b" ], [ "string6a", "string6b" ] ] } }
Expression: $..V[2,3].CC
$..V[2,3].CC
Actual results:
[[3.1415926535, "hello"]]
Expected results:
[3.1415926535, "hello"]
Expression: $.*.V[0,1]
$.*.V[0,1]
[["string2a", "string2b"], ["string4a", "string4b"]]
["string2a", "string2b", "string4a", "string4b"]
Expression: $.F.V[4:6][0,1]
$.F.V[4:6][0,1]
[["string5a", "string5b"], ["string6a", "string6b"]]
["string5a", "string5b", "string6a", "string6b"]
The text was updated successfully, but these errors were encountered:
Merge pull request #9 from gavv/master
7b18df3
Fix #6, #7, and #8
No branches or pull requests
Currently, inner search results are not squashed, like in other parsers, e.g.:
See examples below.
Test JSON:
Expression:
$..V[2,3].CC
Actual results:
Expected results:
Expression:
$.*.V[0,1]
Actual results:
Expected results:
Expression:
$.F.V[4:6][0,1]
Actual results:
Expected results:
The text was updated successfully, but these errors were encountered: