title: Convert .txt to json using Shell scripting
body: <p>I have a text file <code>data.txt</code>: </p>
  
  <pre><code>Framework1,Version1
  Framework2,Version2
  Framework3,Version3
  </code></pre>
  
  <p>I need to convert it to <code>data.json</code> which would look like:</p>
  
  <pre><code>[
  {"FrameworkName":"Framework1", "VersionName":"Version1"},
  {"FrameworkName":"Framework3", "VersionName":"Version2"},
  {"FrameworkName":"Framework3", "VersionName":"Version3"}
  ]
  </code></pre>
  
  <p>I have tried using <code>awk</code> but it hasn't helped me much. Any help would be appreciated. </p>