title: How to convert this particular json string into a python dictionary?
body: <p>How do I convert this string -></p>
  
  <pre><code> string = [{"name":"sam"}]
  </code></pre>
  
  <p>into a python dictionary like so -></p>
  
  <pre><code>data = {
           "name" : "sam"
         }
  </code></pre>