{"ScriptPreparationCode":null,"TestCases":[{"Name":"xhr","Code":"const xhr = new XMLHttpRequest();\r\nxhr.responseType = \u0027json\u0027;\r\nxhr.open(\u0027GET\u0027, \u0027https://www.googleapis.com/discovery/v1/apis\u0027);\r\nxhr.onload = () =\u003E console.log(JSON.parse(xhr.response));\r\nxhr.send();","IsDeferred":false},{"Name":"fetch","Code":"fetch(\u0027https://www.googleapis.com/discovery/v1/apis\u0027).then(response =\u003E response.json()).then(console.log)","IsDeferred":false}]}