Pending Review
Last Updated: 04 Sep 2019 16:04 by Dave
Dave
Created on: 07 Feb 2019 21:20
Type: Feature Request
2
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.

7 comments
Dave
Posted on: 04 Sep 2019 16:04

you need to click that yellow banner that says “Click here to decode”. 

 

Troy
Posted on: 04 Sep 2019 15:56

has this gone anywhere?  All i want to do is copy the JSON tab as a string so paste in notepad++.

I am not sure why but both the Raw and SyntaxView just show gibberish even though the JSON tab shows exactly what i need.  I just need it in string format (similar to the network view in chrome)

Attached Files:
Eric
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.

Dave
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.

Eric
Posted on: 08 Feb 2019 16:10

Right-click and choose Format Script/JSON.

Dave
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.
Eric
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?