code: def read_json(self, params=None):
          
          response = self.read_raw(params=params)
          response.raise_for_status()
          return response.json()
docs: Get information about the current entity.
  
          Call :meth:`read_raw`. Check the response status code, decode JSON and
          return the decoded JSON as a dict.
  
          :return: A dict. The server's response, with all JSON decoded.
          :raises: ``requests.exceptions.HTTPError`` if the response has an HTTP
              4XX or 5XX status code.
          :raises: ``ValueError`` If the response JSON can not be decoded.