Serializes json text stream into python dictionary.

        :return dict: json

def json(self):
        """
        Serializes json text stream into python dictionary.

        :return dict: json
        """
        _json = json.loads(self.reader)
        if _json.get('error', None):
            raise HTTPError(_json['error']['errors'])
        return _json