Pending Review
Last Updated: 08 Feb 2019 16:51 by Eric
Created on: 07 Feb 2019 21:20
Type: Feature Request
formatted json string

It would be really great to be able to view requests and responses as a formatted json string.  Currently, you can show JSON, which uses some tree format, and you can show raw, which is just a flat hard to use string.

It would also be great to be able to format json inside the request composer so it can be easy to modify.

Posted on: 08 Feb 2019 16:51

Alas, I no longer have access to the Fiddler source code.

Originally, the Composer didn't use a SyntaxView control for the headers and body fields because the SyntaxView control was a separate download (bigger than the Fiddler installer). These days, that's no longer the case and the Composer probably should be replatformed atop the SyntaxView so that users get syntax highlighting for headers and optionally the body.

Now, for the body it's a bit tricky (because unlike the inspectors, you probably cannot reliably determine the content type, and because changes in format (e.g. crlf, etc) can "break" the upload) but these are probably surmountable problems if Telerik is sufficiently clever.

Posted on: 08 Feb 2019 16:16

Oh!  I didn't know what was there.

I am not sure if you are a telerik dev here, but if this could also be added to the composer request body text area, that would be amazing.

Posted on: 08 Feb 2019 16:10

Right-click and choose Format Script/JSON.

Posted on: 08 Feb 2019 03:33
Yeah, i mean pretty printed with line breaks and indents in steing format. It makes it easy to read and copy chunks of the json.
Posted on: 08 Feb 2019 03:11

Can you elaborate on what you mean by "formatted", and contrast that with what, say, the SyntaxView extension does today?