title: Converting Json to CSV in Javascript
body: <ul>
  <li>I am trying to convert JSON to CSV, I referred <a href="https://stackoverflow.com/questions/49412859/converting-json-file-to-csv-with-javascript">Converting JSON File to CSV with JavaScript</a>, and <a href="https://stackoverflow.com/questions/14964035/how-to-export-javascript-array-info-to-csv-on-client-side">How to export JavaScript array info to csv (on client side)?</a></li>
  <li>As my data is nested under <code>Rows</code> it is bringing the JSON in single-single character lines.</li>
  <li>Sample <a href="https://drive.google.com/file/d/1BGEHId7e0GK07K3CfzLYBAxppz2Qptth/view?usp=sharing" rel="nofollow noreferrer">JSON</a></li>
  <li>Expected <a href="https://drive.google.com/file/d/1zXAvza59_DCqaP5YvVChD5FdUEfWjV7h/view?usp=sharing" rel="nofollow noreferrer">Output</a></li>
  </ul>
  <p>UPDATE</p>
  <ul>
  <li>I am receiving a <code>base 64 string</code> <a href="https://drive.google.com/file/d/1nXwqjQAC87PboogUQU-AxqjuUKEAcGQn/view?usp=sharing" rel="nofollow noreferrer">sample</a></li>
  <li>Then decoding the <code>base-64</code> as below</li>
  </ul>
  <pre><code>let jsonContent = atob(base_64_string);
  </code></pre>