title: Creating .json file and storing data in it with JavaScript?
body: <p>I have a back-end <code>JavaScript</code> file that runs on <code>node.js</code>. It do some stuff using <code>async.series</code> and yields the final dictionary(object) with data I need on my front-end. I now how to read a <code>.json</code> file and convert it into the <code>JavaScript</code> object, but I do not know create <code>.json</code> file with back-end <code>JavaScript</code> and how to store some data in it. </p>
  
  <p>Could anyone please tell me the right way to do this.</p>
  
  <p>Here is the dictionary(object) that I need to convert and store to the <code>.json</code> file.</p>
  
  <pre><code>var dict = {"one" : [15, 4.5],
              "two" : [34, 3.3],
              "three" : [67, 5.0],
              "four" : [32, 4.1]};
  </code></pre>