title: Convert a json file to csv using shell script without using jq?
body: <p>I want to convert a json file to csv using shell script <em>without</em> using jq. Is it possible?</p>
  
  <p>Here is a json :</p>
  
  <pre><code>{
    "id": "0001",
      "type": "donut",
      "name": "Cake",
      "ppu": 0.55,
  },
  {
  "id": "0002",
      "type": "donut2",
      "name": "Cake2",
      "ppu": 0.5522,
  }
  </code></pre>
  
  <p>I don't want to use <code>jq</code>.</p>
  
  <p>I want to store it in a csv file.</p>