Validate JSON Body
Feature RequestBugImprovement
When sending json body, Yaak does’t validate if the json is a valid one.
Image comparing with Insomnia

Mac
When sending json body, Yaak does’t validate if the json is a valid one.
Image comparing with Insomnia

Sign in to leave a comment.
This is something I would like to do eventually. Unfortunately, it’s a bit hard to validate JSON because it has to account for any template syntax that might be included.
I’ll see if I can get something working for the next release!
Can I pick this?
https://github.com/mountain-loop/yaak/pull/294
@Greg Schier was checking your PR, for json linting. You replaced the template syntac with “1”, I am thinking about replacing it with the actual value to get accurate parsing.
This solution seems good enough for now. It’s hard to trust the rendered value because it could be different each render, or different between preview and send renders.
Perhaps, instead, there could be a warning somewhere in the response panel if a request was sent with invalid JSON body?
Warning in response panel looks good solution to me. Will check around that.
https://yaak.app/blog/2025.9.0-beta.3
https://yaak.app/blog/2025.9.0