title: Add square brackets at beginning and end of json file using Node.js
body: <p>I have a JSON file and I want to add a square bracket at the beginning and end of JSON.
  eg.
  Input</p>
  <pre><code>{
  &quot;name&quot;: &quot;Ram&quot;,
  &quot;age&quot;: 25
  },
  {
  &quot;name&quot;: &quot;Laxman&quot;,
  &quot;age&quot;: 24
  }
  </code></pre>
  <p>Expected output:</p>
  <pre><code>[
  {
  &quot;name&quot;: &quot;Ram&quot;,
  &quot;age&quot;: 25
  },
  {
  &quot;name&quot;: &quot;Laxman&quot;,
  &quot;age&quot;: 24
  }
  ]
  </code></pre>
  <p>this is a sample response, I am having a large JSON data in a file.</p>