Skip to content
New issue

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

Add an option to reformat JSON in body #14

Open
millsks opened this issue Apr 23, 2023 · 2 comments
Open

Add an option to reformat JSON in body #14

millsks opened this issue Apr 23, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@millsks
Copy link

millsks commented Apr 23, 2023

When pasting JSON into the body of a request have an option to reformat/pretty it up. It would help with reading large/complex payloads.

For example:

Before

{ "user": "user001", "email": "[email protected]" }

After

{
  "user": "user001",
  "email": "[email protected]"
}
@millsks millsks changed the title Reformat JSON in body Add an option to reformat JSON in body Apr 23, 2023
@millsks
Copy link
Author

millsks commented Apr 23, 2023

Ctrl+Alt+L will take care of reformatting the JSON. Up to you if you want to close this out or would you consider a button for this next to the Fill JSON button?

@AntonShuvaev
Copy link
Collaborator

Thanks for suggestion. I'll add the button for reformatting.

@AntonShuvaev AntonShuvaev added the enhancement New feature or request label Apr 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants