title: jq - select objects with given key name
body: <p>I've got an arbitrary structure with many levels, etc. I need to select all objects that contain a key named <code>updateDate</code>. How do I do that with jq? I came up with one way but it also produces errors on invalid data types when it visits a leaf which I have to grep out:</p>
  
  <pre><code>jq 'recurse(.[]) | has("updateDate")' | grep -Fv error
  </code></pre>
  
  <p>I don't really understand how to also check for types or leaves and I suspect there is a simpler way to achieve what I want?</p>