code: def json(self):
          
          if hasattr(self, '_json'):
              return self._json
          try:
              self._json = json.loads(self.text or self.content)
          except ValueError:
              self._json = None
          return self._json
docs: Returns the json-encoded content of the response, if any.