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
With this json:
{ "firstName": "John", "lastName" : "doe", "age" : 26, "address" : { "streetAddress": "naist street", "city" : "Nara", "postalCode" : "630-0192" }, "phoneNumbers": [ { "type" : "iPhone", "number": "0123-4567-8888", "other" : "value" }, { "type" : "home", "number": "0123-4567-8910", "other" : "value" } ] }
A query like this: $.phoneNumbers.[type,number] returns:
$.phoneNumbers.[type,number]
[ "iPhone", "0123-4567-8888", "home", "0123-4567-8910" ]
It would be very helpful if there is an option to make the result as this:
[ {"type": "IPhone", "number": "0123-4567-8888"}, {"type": "home", "number": "0123-4567-8910"} ]
The text was updated successfully, but these errors were encountered:
I would also love this! There is already a syntax that is used by a couple of other parses so I think it makes most sense to use that syntax: https://cburgmer.github.io/json-path-comparison/results/parens_notation.html
Sorry, something went wrong.
No branches or pull requests
With this json:
A query like this:
$.phoneNumbers.[type,number]
returns:It would be very helpful if there is an option to make the result as this:
The text was updated successfully, but these errors were encountered: