title: How to use jq to query a value of a numeric sub-key
body: <p>I would like to use <strong>jq</strong> to display the value of 801.170.101 in the following JSON string:</p>
  <pre><code>{&quot;801&quot;:{&quot;170&quot;:{&quot;100&quot;:&quot;abc&quot;,&quot;101&quot;:33,&quot;102&quot;:55}}}
  </code></pre>
  <p>I read that I need to use [] for numeric key names. The following works to return the 170 key and it's sub-values:</p>
  <pre><code>echo '{&quot;801&quot;:{&quot;170&quot;:{&quot;100&quot;:&quot;abc&quot;,&quot;101&quot;:33,&quot;102&quot;:55}}}' | jq '.[&quot;801&quot;]'
  </code></pre>
  <p>However, the following doesn't work:</p>
  <pre><code>echo '{&quot;801&quot;:{&quot;170&quot;:{&quot;100&quot;:&quot;abc&quot;,&quot;101&quot;:33,&quot;102&quot;:55}}}' | jq '.[&quot;801&quot;].[&quot;170&quot;].[&quot;101&quot;]'
  jq: error: syntax error, unexpected '[', expecting FORMAT or QQSTRING_START (Unix shell quoting issues?) at &lt;top-level&gt;, line 1:
  .[&quot;801&quot;].[&quot;170&quot;].[&quot;101&quot;]         
  jq: 1 compile error
  
  </code></pre>
  <p>What is the correct syntax to retrieve the value of 801.170.101 (33)?</p>
  <p>Thanks.</p>