How do I select multiple fields in jq?
<p>My input file looks something like this:</p>
<pre><code>{
  &quot;login&quot;: &quot;dmaxfield&quot;,
  &quot;id&quot;: 7449977,
  ...
}
{
  &quot;login&quot;: &quot;dmaxfield&quot;,
  &quot;id&quot;: 7449977,
  ...
}
</code></pre>
<p>I can get all the login names with this : <code>cat members | jq '.[].login'</code></p>
<p>but I have not been able to crack the syntax to get both the login and id?</p>