title: jq convert comma separated JSON objects into array
body: <p>I have files which have N JSON objects and they are separated by comma (,) </p>
  
  <pre><code>{"a":1},{"b":2},{"c":3},{"d":2},{"e":1},{"f":2} ...
  </code></pre>
  
  <p>I would like to convert them into one JSON array with N objects using <code>jq</code></p>
  
  <pre><code>[{"a":1},{"b":2},{"c":3},{"d":2},{"e":1},{"f":2} ...]
  </code></pre>
  
  <p>I tried <code>jq -R 'split(",")' myfile.json</code> but it gives me an array of N strings</p>
  
  <pre><code>[
    "{\"a\":1}",
    "{\"b\":2}",
    "{\"a\":1}",
    "{\"b\":2}",
    "{\"a\":1}",
    "{\"b\":2}",
    "{\"a\":1}",
    "{\"b\":2}" ....
  ]
  </code></pre>
  
  <p>Any idea?</p>