title: Read Json file data using javascript?
body: <pre><code>function uploadJsonFunction(){
    var jsonURL = "C:\Users\My Documents\new\WebContent\JsonFiles\TreeJson\countries.json";
  }
  </code></pre>
  
  <ul>
  <li>countries.json is valid json and the above path has countries.json file.</li>
  <li>I want to read the countries.json file whole data/contents using javascript.</li>
  </ul>
  
  <p>Here is my Json: </p>
  
  <pre><code>{
    identifier: 'id',
    label: 'name',
    items: [
      {
        id: 'AF',
        name: 'Africa',
        type:'continent'
      }
    ]
  }
  </code></pre>