title: Escape quotes in jq
body: <p>I've the following two bash lines</p>
  
  <pre><code>TMPFILE="$(mktemp)" || exit 1
  
  &lt; package.json jq '. + {"foo":'"${BOO}"'}' &gt; "$TMPFILE"
  </code></pre>
  
  <p>but I get the following error:</p>
  
  <pre><code>jq: error: syntax error, unexpected '}' (Unix shell quoting issues?) at &lt;top-level&gt;, line 1:
  . + {"foo":}
  jq: 1 compile error
  </code></pre>
  
  <p>any idea how to escape properly that part by having the double quote there to mute the shellcheck error</p>