WebPagetest Forums

Full Version: Json Bug Found
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
When running a lint checker
e.g. https://jsonformatter.curiousconcept.com/

On multiple URLs:
https://www.webpagetest.org/result/17052...1Y/?f=json
https://www.webpagetest.org/result/17052...1Z/?f=json

an unknown error occurs

The tests were for 9 retries so perhaps its a case then the json is just too big?
I'm pretty sure it's an issue with the tool because of the size of the data (or the time it takes to generate). I decoded the JSON for tgat in a few different tools and they all parsed it fine.

For example, in Chrome's dev tools you can do this:

Code:
fetch("https://www.webpagetest.org/result/170524_EG_X1Y/?f=json").then(function(response){response.json().then(function(obj){console.log(obj)})}​)

And after a few seconds it will dump the decoded object to the console.
Reference URL's