EDIT: I\'ve gotten the \"famous question\" badge with this question, so I figured I\'d come back to it and stick what happened to me right at the very tippy
$.getJSON( "UI/entidades.json.php", function(data){ result = JSON.stringify(data); alert(result) console.log(result) })