Python httplib retrieve json object from getresponse()
<p>So I currently working on a POST request to an api. </p>

<pre><code>conn = httplib.HTTPSConnection('api.syncano.io')
conn.request(method="POST", url=url, body=postdata, headers=headers)
resp = conn.getresponse()
</code></pre>

<p>I used <code>resp.read()</code> but it returns me a string. Are there any way for me to read the response as a JSON object where I could get the result simply by doing <code>resp['result']</code>?</p>