title: how to convert string to dict with double quotes in python?
body: <p>i want to convert string to dict with double quotes</p>
  <p>here is example</p>
  <pre class="lang-py prettyprint-override"><code>&quot;{'a':'b'}&quot;
  </code></pre>
  <p>i tried replace with json.dumps
  but it is not resolved</p>
  <pre class="lang-py prettyprint-override"><code>a = &quot;{'a':'b'}&quot;
  b = a.replace(&quot;'&quot;, &quot;\&quot;&quot;) # '{&quot;id&quot;:&quot;b&quot;}'
  c = json.dumps(c, ensure_ascii=False) # '&quot;{\&quot;id\\&quot;:\&quot;b\&quot;}&quot;'
  </code></pre>
  <p>i want to solve like this</p>
  <pre class="lang-py prettyprint-override"><code>{&quot;a&quot;:&quot;b&quot;}
  </code></pre>
  <p>how can i solve it?</p>