title: How do I parse a JSON response from Python Requests?
body: <p>I am trying to parse a <code>response.text</code> that I get when I make a <code>request</code> using the Python Requests library. For example: </p>
  
  <pre><code>def check_user(self):
      method = 'POST'
      url = 'http://localhost:5000/login'
      ck = cookielib.CookieJar()
      self.response = requests.request(method,url,data='username=test1&amp;passwd=pass1', cookies=ck)
      print self.response.text
  </code></pre>
  
  <p>When I execute this method, the output is:</p>
  
  <pre class="lang-json prettyprint-override"><code>{"request":"POST /login","result":"success"}
  </code></pre>
  
  <p>I would like to check whether <code>"result"</code> equals <code>"success"</code>, ignoring whatever comes before.</p>