How to use jq when the variable has reserved characters?
<p>I'm trying to get the following to work and it's not, help me please:</p>
<pre><code>curl -s 'https://cryptofresh.com/api/asset/markets?asset=MKR' | jq .OPEN.BTC
</code></pre>
<p>The variable in question includes a period, I tried just about everything to escape the period &amp;&amp; also tried surrounding it in quotes; no go ; this is the variable I'm looking to pull from (I ran jq without any filters, and truncated the output here to show what I need. Thanks in advance future problem solver!</p>
<pre><code>curl -s 'https://cryptofresh.com/api/asset/markets?asset=MKR' | jq
....
 &quot;OPEN.BTC&quot;: {
&quot;volume24&quot;: 0.932166,
&quot;price&quot;: 0.09995,
&quot;updated&quot;: &quot;2016-05-04T03:03:29.000Z&quot;
},
....
</code></pre>