title: jq curl vs local file: jq: error (at <stdin>:0): Cannot index string with string "joke"
body: <p>Why is this not working:</p>
  
  <pre><code>curl -s http://api.icndb.com/jokes/random/3 | jq '.[] | .joke'
  jq: error (at &lt;stdin&gt;:0): Cannot index string with string "joke"
  </code></pre>
  
  <p>When this is:</p>
  
  <pre><code>jq '.[] | .joke' jokes.json                                   
  "Chuck Norris hosting is 101% uptime guaranteed."
  "The crossing lights in Chuck Norris's home town say &amp;quot;Die slowly&amp;quot; and &amp;quot;die quickly&amp;quot;. They each have a picture of Chuck Norris punching or kicking a pedestrian."
  "When in a bar, you can order a drink called a &amp;quot;Chuck Norris&amp;quot;. It is also known as a &amp;quot;Bloody Mary&amp;quot;, if your name happens to be Mary."
  </code></pre>