title: How to use jq to output JSONL (one independent JSON object per line)
body: <p>My request sounds trivial but I could not find a way to do it. I have as input an array of JSON objects:</p>
  
  <pre><code>[
      {
          "foo": 1,
          "bar": 2
      },
      {
          "foo": 3,
          "bar": 4
      },
      (...)
  ]
  </code></pre>
  
  <p>and I want as output the JSONL version of the same, aka one object per line, not an array:</p>
  
  <pre><code>    { "foo": 1, "bar": 2 }
      { "foo": 3, "bar": 4 }
      (...)
  </code></pre>
  
  <p>This is <strong>not</strong> the same as using <code>--compact-output</code>, as that would preserve the array and give me:</p>
  
  <pre><code>    [ { "foo": 1, "bar": 2 }, { "foo": 3, "bar": 4 }, (...) ]
  </code></pre>
  
  <p>Thank you in advance.</p>