JetClient / jet-client-support

JetClient is an advanced REST API Client plugin for JetBrains IDEs
https://plugins.jetbrains.com/plugin/21173-jetclient
110 stars 0 forks source link

Add an option to reformat JSON in body #14

Open millsks opened 1 year ago

millsks commented 1 year ago

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": "user001@email.com" }

After

{
  "user": "user001",
  "email": "user001@email.com"
}
millsks commented 1 year ago

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 commented 1 year ago

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