I\'m trying to load a local JSON file but it won\'t work. Here is my JavaScript code (using jQuery):
var json = $.getJSON("test.json"); var data = e
If you want to let the user select the local json file (anywhere on the filesystem), then the following solution works.
It uses uses FileReader and JSON.parser (and no jquery).
Json File
Here is a good intro on FileReader: http://www.html5rocks.com/en/tutorials/file/dndfiles/