Linux, Gadgets and Multimedia. In ye olde days a Cyprianus was the Wizard's common spellbook. As a rule a Cyprianus manuscript started with these words: "Even though Moses knew all the secrets of our Art he did not abuse his knowledge. Do Thou likewise."
Sider
▼
27 December, 2015
View a Json Object in the console
At least in Google Chrome this works like a charm:
var xhr = new XMLHttpRequest(); responseObject = JSON.parse(xhr.responseText); console.log(responseObject); var openFile = "weather.json"; // sample file xhr.open('GET',openFile,true);
No comments:
Post a Comment