In my small JS web application, I use some JSON data.
The data is located on the server in a separate static .json file.
My application, being small, does not use any frameworks, not even jQuery. And I don't want to mess with XMLHTTPRequest myself.
Is there a way to load my JSON data without AJAX? (And without renaming the file to .js and emulating JSONP or including data in existing JS sources.)
This is normal if it will only work in modern browsers.
json javascript
Alexander Gladysh
source share