title: How to parse a JSON file without web request or web server?
body: <p>Looking to build a work-around of the following.</p>
  
  <pre><code>$.getJSON('myfile.json', function (data) {
      showAll(data);
  });
  </code></pre>
  
  <p>I want to avoid using a webserver, but just want to access the file directly.</p>
  
  <p><code>getJSON</code> uses a web request, which presents the error: <code>XMLHttpRequest cannot load file:///Users/me/Documents/project/myfile.json. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https, chrome-extension-resource.</code></p>
  
  <p>I want a work around. I've read things about renaming to <code>.js</code> and then just linking it from the HTML file. Any ideas?</p>