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
Try is such way (but also please note that JavaScript don't have access to the client file system):
$.getJSON('test.json', function(data) { console.log(data); });