title: How to use JSON as config file with Javascript
body: <p>I'm looking for a way where I can use a JSON as a config file,</p>
  
  <p>My JSON config file looks like : </p>
  
  <pre class="lang-js prettyprint-override"><code>{
  'Lang' : 'EN',
  'URL' : '/over/dose/app'
  }
  </code></pre>
  
  
  
  <p>and I want to get the URL and Lang in the html file using javascript or jQuery.
  I don't wanna use an asynchronous method like <code>$.getJson</code>.</p>
  
  <p>I want to get the Url and language from JSON file something like :</p>
  
  <pre><code>var url = myjson.URL;
  </code></pre>
  
  <p>so I can use the var later in so many different functions.</p>