title: How can I set a Heroku config var to a JSON value?
body: <p>I want to use a JSON value as a environment variable with <code>heroku config:set</code>.</p>
  
  <p>But if I run this command:</p>
  
  <pre class="lang-none prettyprint-override"><code>heroku config:set FOO_JSON={"abc":"bcd","cde":"def" ... }
  </code></pre>
  
  <p>all <code>"</code> are removed like this:</p>
  
  <pre class="lang-none prettyprint-override"><code>FOO_JSON={abc:bcd,cde:def ... }
  </code></pre>
  
  <p>and I get a parse error.  </p>
  
  <p>How can I use JSON in Heroku's environment variables?</p>