RESTEDClient / RESTED

A REST client for browsers
GNU General Public License v3.0
290 stars 43 forks source link

Ability to Collapse/Expand Reponse JSON #97

Open ceyhunkerti opened 7 years ago

ceyhunkerti commented 7 years ago

screenshot at 2017-06-23 13 51 54

can you add expand and collapse for the json response ?

eliihen commented 7 years ago

Hey,

Sure I can, thanks for the suggestion. There are other things that are higher priority though, so it will have to wait a while.

Jiehong commented 7 years ago

FF provides a json viewer, so couldn't this be used if present? It would avoid you having to provide similar functionalities:

https://developer.mozilla.org/en-US/docs/Tools/JSON_viewer

Idk if Chrome offers something similar.

eliihen commented 7 years ago

I want to make the application as cross-platform uniform as possible, so I'm more in favor of using a library like for example react-json-tree

Edit: react-inspector offers a DOM inspector as well, which could be pretty cool for HTML responses

eliihen commented 7 years ago

Got started hacking on this, work is in progress over at feature/formatted-response.

There will be an option where you can decide what response renderer you want, so the old way will still be supported

screen shot 2017-08-08 at 21 16 08 screen shot 2017-08-08 at 21 31 36