Eric R | Technical Support Engineer said:
I am not entirely certain if you are referring to only the exported files or the views in Fiddler. If in Fiddler, the SyntaxView can format the JSON by selecting it -> right-clicking and choosing Format Script/JSON. Alternatively, for exported files I recommend to opening the file in a Code Editor like, Visual Studio Code which has functionality to format blocks of code. [/QUOTE]
Basically, Ive got 130+ json files i want. i put them in a specific directory.
One script (PHP) I have, is getting all the JSON files & extracting the data i want (including in this process is putting blocks of code into new-lines). THIS script took 50+ minutes to complete - very long. but I brought it down to 20 minutes.
(133+ JSON files, 4.3MB in size, shrunk down to one formatted data-file 195KB in size)
This saves the information i want into a pre-formatted file. By putting things into new-lines "At source" from Fiddler will save unnecessary processing... (or reduce it to a minute instead of 20-30 mins)
The second PHP script takes 1 second, to review the formatted file and display the data in a presentable format.
Additionally, there is an existing Feature Request for Formatting JSON and have increased its priority by adding a vote for you. I encourage following it to receive status updates.
Please give these workarounds a try and let me know the results. Thank you for using the Fiddler Forums.
I'll checkout the feature-request area. Thanks.