In my small JS web-application, I use some JSON data.
The data is on server in a separate static .json
file.
My application, being small, does not use any frameworks, not even jQuery. And I do not 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 imitating JSONP
or including the data in existing JS sources.)
It is OK if it will work only in modern browsers.