Yaak Logo
Yaak
Feedback/Allow commenting json body

Allow commenting json body

Marius ·2 years ago
Up NextFeature Request

When making JSON POST request to allow adding comments, sometimes i dont want to POST particular data so i would comment them


Comments (10)

Sign in to leave a comment.

Json5 for request bodywas merged
Comments in JSON bodywas merged
Gregory SchierUp Next

Going to work on this soon! Stay tuned…

Konstantin Ilchenko

Just for reference, there is a codemirror plugin for JSON5

https://github.com/dimfeld/codemirror-json5. JSON5 supports comments, trailing commas and unquoted objects keys, which would be super helpful for fiddling with the request body right in the editor. The plugin in its turn supports linting and a transparent conversion to the “real“ json.

Konstantin Ilchenko

I would be happy to participate and to make a PR with this feature, but it looks like only bug-fix PRs are accepted.

As an alternative, this feature could be a plugin, if/when the plugins API will be able to expose a way for making custom body editors

Ammar Sani

hi. since now yaak had introduced plugins, please do! would love to use your plugin whenever ready

Jeremiah Snee

Not Sure JSON5 would be best fit for this. https://jsonc.org/ seems more appropriate

Reuben Sanchez

I enjoy this feature as well. It feels good to have inline comments, instead of a “docs” tab

Noureldien Ahmed

I didn’t know this was a requested feature until I searched here. I started using Yaak a couple of months ago, and I can’t use any API client without this feature. I opened a PR with it a couple of days ago, you can have a look.

https://github.com/mountain-loop/yaak/pull/363

Mladen Mihajlović

Yup this feature would be great!

Type to search feedback...