title: jq: remove elements from array and output into a single line each one
body: <p>Is there any way to output as &quot;slurp&quot; format and input array?</p>
  <pre class="lang-json prettyprint-override"><code>[
  { &quot;id&quot;: &quot;id1&quot;, &quot;value&quot;: &quot;value1&quot;},
  { &quot;id&quot;: &quot;id2&quot;, &quot;value&quot;: &quot;value2&quot;}
  ]
  </code></pre>
  <p>I'd like to get:</p>
  <pre><code>{ &quot;id&quot;: &quot;id1&quot;, &quot;value&quot;: &quot;value1&quot;}
  { &quot;id&quot;: &quot;id2&quot;, &quot;value&quot;: &quot;value2&quot;}
  </code></pre>
  <p>Each element outside of array, and each element into a single line.</p>
  <p>I've tried with <code>-c</code> option. but it generating all array into a single line.</p>
  <p>I mean, <code>-c</code> option is generating me:</p>
  <pre class="lang-json prettyprint-override"><code>[{&quot;id&quot;:&quot;id1&quot;,&quot;value&quot;:&quot;value1&quot;},{&quot;id&quot;:&quot;id2&quot;,&quot;value&quot;:&quot;value2&quot;}]
  </code></pre>