title: python: how to convert a query string to json string?
body: <p>I want to convert such query string:</p>
  
  <pre><code>a=1&amp;b=2
  </code></pre>
  
  <p>to json string</p>
  
  <pre><code>{"a":1, "b":2}
  </code></pre>
  
  <p>Any existing solution?</p>