riok / Kreya

Kreya is a GUI client for gRPC and REST APIs with innovative features for environments, authorizations and more.
https://kreya.app
279 stars 5 forks source link

Expand / collapse JSON in call results panel #214

Closed AFract closed 3 months ago

AFract commented 3 months ago

Hello, Some of my methods returns very long JSON (1MB or more), with deep nesting. Current braces coloring feature is nice, but not enough unfortunately. image

It's very difficult to browse the results with current way to display them.

A feature to be able to collapse/expand individual JSON elements and tables (like in any good text processor) would be greatly appreciated for a future release :)

Thank you !

CommonGuy commented 3 months ago

This should already work by hovering over the column next to the line number: grafik

Clicking these arrows collapses the JSON elements

AFract commented 3 months ago

Sorry, I missed that when I was looking for it ! Thank you (a bit in late) for the answer.