Pulse icon indicating copy to clipboard operation
Pulse copied to clipboard

added json view

Open abdula571 opened this issue 1 year ago • 1 comments

added convenient json viewer for json response. used code from https://github.com/quentinfasquel/JSONView with some fixes

abdula571 avatar May 07 '24 04:05 abdula571

Hey,

JSONView looks interesting, and something like this could be a valuable addition. However, I would prefer to include parts of this functionality, such as collapsing objects, in the main text view.

I added a new ConsoleViewDelegate protocol, and I plan to extend it in v4.3 to allow adding "plugins" in common areas of the Console. It will support extending the response view to support new response types without modifying the framework, adding custom actions to the existing response views, and more.

If you'd like to contribute and add some of these features to ConsoleViewDelegate, I'll appreciate it. In the meantime, I would recommend sticking with a fork.

kean avatar May 19 '24 17:05 kean