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
JSON Path expression with many subscript operator is not returned values.
JSON Sample:
{ "id": "123456", "contactMedium": [ { "type": "Telephone", "preferred": true, "characteristic": { "type": "Default", "contactType": "Default", "phoneNumber": "456123789" } }, { "type": "Telephone", "preferred": false, "characteristic": { "type": "Home", "contactType": "Home", "phoneNumber": "987654321" } }, { "type": "Telephone", "preferred": false, "characteristic": { "type": "Work", "contactType": "Work", "phoneNumber": "231654987" } }, { "type": "Email", "preferred": false, "characteristic": { "type": "email", "contactType": "email", "emailAddress": "[email protected]" } } ] }
JSON Path
$.contactMedium[?(@.type=='Telephone')].characteristic[ ?(@.type=='Home')].phoneNumber
It should return values with many subscript operators.
[ "987654321" ]
https://jsonpath-plus.github.io/JSONPath/demo/?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
JSON Path expression with many subscript operator is not returned values.
Code sample or steps to reproduce
JSON Sample:
JSON Path
Console error or logs
Expected behavior
It should return values with many subscript operators.
Expected result
[ "987654321" ]
Environment (IMPORTANT)
https://jsonpath-plus.github.io/JSONPath/demo/?
The text was updated successfully, but these errors were encountered: