I'm just diving into JSON and found the following .json file from data.gov: http://data.consumerfinance.gov/api/views.json
Why don't I need the ?jsoncallback=? to retrieve the data?
(function() {
$.getJSON('http://data.consumerfinance.gov/api/views.json', function (data) {
console.log(data);
});
})();
The posted code works. Is it because I use an anonymous callback function? Can I retrieve any .json file from any server or (what for) do I need an API?