title: How to get json values from path inside vs code extension
body: <p>Tried to get json values using below code but not working.This code is not working only inside my visual studio code extension: <a href="https://code.visualstudio.com/api/get-started/your-first-extension" rel="nofollow noreferrer">https://code.visualstudio.com/api/get-started/your-first-extension</a>
  I do not know why it is not working inside vscode extension.Anyone can find the solution?</p>
  
  <pre><code>var file = JSON.parse(fs.readFileSync("c:\\xampp\\htdocs\\projects\\chemis\\package.json", "utf8"));
  vscode.window.showInformationMessage(file);
  </code></pre>