$.getJSON('URL', function (data) {});
var xhr = new XMLHttpRequest (); xhr.open("GET","URL",true); xhr.onload = function() { var text = JSON.parse(xhr.responseText); } xhr.send();