White search icon

Download formatted JSON as a file directly from the formatter

S
sarah_chen Lv.4 Regular
8mo ago
When I'm working with large API responses during debugging, I often want to save the formatted output to a file for reference later or to share with a colleague. Right now the only option is Copy → paste into VS Code → save manually. Could we get a Download button next to the Copy button that saves the current output as a .json file? Ideally with options for formatted vs minified. Would make sharing API response snapshots in bug tickets or PRs so much easier.
3 replies
P
priya_dev Lv.4 Regular
8mo ago
Yes! I do this manually every time. Copy → open VS Code → paste → Ctrl+S → rename the file. A single Download button would save about 10 seconds per export which adds up fast.
L
lukasz_k Lv.3 Member
8mo ago
Good idea, and if you're adding it — could there be a toggle between formatted (pretty-printed) and minified when downloading? Sometimes you need the compact version to paste into a config or send over a size-limited channel.
C
codev_mike Lv.4 Regular
8mo ago
Seconded. Being able to share response snapshots as actual .json files in bug reports and PRs is way cleaner than embedding a blob of text. Also useful for regression testing — save the "good" response and compare later.
An unhandled error has occurred. Reload 🗙

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.