"Reformat contents" removes whitespace from JSONPath Query
Bug
When using the "Reformat contents" feature with request chaining via response.body.path(...), all whitespaces within JSONPath queries are incorrectly stripped.
Steps to reproduce
Make a GET request to
https://api.github.com/users/octocat/reposCreate a new request with some sort of body (e.g., JSON, GraphQL)
In the new query, reference the response body of the GET request from #1 using request chaining (i.e.,
response.body.path(…)) with this JSONPath query:$[?(@.license?.name=="MIT License")].idApply "Reformat contents" feature
Click the blue template tag and notice that the JSONPath query has been updated to
$[?(@.license?.name=="MITLicense")].id(whitespace removed between “MIT” and “License”)
Mac2025.1.2
Ah yes, I think this should already be fixed in the dev branch. Going forward, any arguments of template functions will be stored base64-encoded to prevent these types of issues.
For example:
${[ my_fn(a='hello "world"') ]}will be stored as${[ my_fn(a=b64'aGVsbG8gIndvcmxkIg==')]}Great, thanks!
https://yaak.app/blog/2025.2.0-beta.3
You will have to edit the response tag for it to update it’s arguments to be base64-encoded.
https://yaak.app/blog/2025.2.0