Add “Collapse All / Expand All” for JSON Request and Response Bodies
It would be very helpful to have a one-click “Collapse All” and “Expand All” option for JSON content in both request and response bodies.
When working with large or deeply nested JSON payloads, manually collapsing each object or array is time-consuming. More importantly, it makes it difficult to quickly understand the overall structure of the JSON.
A “Collapse All” feature would allow users to immediately get a high-level view of the payload structure, while “Expand All” would make it easy to restore the full content when needed.
Ideally, this could be available through:
A button in the JSON viewer/editor toolbar A context menu option Keyboard shortcuts
This would significantly improve the experience of inspecting and debugging large API payloads.
Thanks for the suggestion. Ctrl-Alt-[ collapses everything and Ctrl-Alt-] expands it again in any editor, including response bodies. I’m thinking of adding these to the right-click menu in the future so they’re easier to find.