abbasmajeed / rest-client

Automatically exported from code.google.com/p/rest-client
Apache License 2.0
0 stars 0 forks source link

JSON preview in response body #121

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It would be really, really useful to have JSON preview (even if it's just 
pretty-printed) in response body.

Original issue reported on code.google.com by sebastie...@gmail.com on 7 Oct 2010 at 3:27

GoogleCodeExporter commented 9 years ago
We do have pretty-print support for JSON responses. Right-click on the response 
body and select 'Indent > Indent JSON'. To automatically indent JSON, in the 
Options dialog (Tools > Options) open the 'Etc.' tab, and enable this option. 
Note that for auto-indenting to work, the response header should contain proper 
Content-Type header identifying it as JSON response.

Original comment by subwiz on 2 Dec 2010 at 2:39