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
No description provided.
The text was updated successfully, but these errors were encountered:
ex : { "category": "fiction", "author": "Herman Melville", "title": "Moby Dick", "isbn": "0-553-21311-3", "price": 8.99 } ==> { "category": "fiction", "author": "Herman Melville", "title": "Moby Dick", "isbn": "0-****-3", "price": 8.99 } if i match "isbn" node
Sorry, something went wrong.
Yes, there is. This example replaces all nodes named "isbn" with "0-****-3".
DocumentContext dc = JsonPath.parse("insert your json string here") dc.put("$..isbn", "0-****-3");
If you'd like to replace only some nodes depending on their value you could use e.g. regular expressions inside the path:
$..[?(@.isbn=~/0-\d{3}-\d{5}-3/)].isbn
@GitHubForTroy @hf-kklein Can you please check my issue..?? #982 (comment)
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: