title: How can I set JSON into a variable from a local url
body: <p>Evidently jQuery has made me dumb.</p>
  
  <p>I've got a local url that serves up raw JSON, and I can't figure out how to consume that json from within my method without using jQuery.</p>
  
  <p>Here's how I know to do it WITH jQuery</p>
  
  <pre><code>var myJson;
  $.getJSON('/local/path/to/json', function (data) { 
      myJson = data; 
  });
  
  // Now I can use myJson in a method.
  </code></pre>