def get_unverified_claims(token):
try:<EOL><INDENT>claims = jws.get_unverified_claims(token)<EOL><DEDENT>except:<EOL><INDENT>raise JWTError('<STR_LIT>')<EOL><DEDENT>try:<EOL><INDENT>claims = json.loads(claims.decode('<STR_LIT:utf-8>'))<EOL><DEDENT>except ValueError as e:<EOL><INDENT>raise JWTError('<STR_LIT>' % e)<EOL><DEDENT>if not isinstance(claims, Mapping):<EOL><INDENT>raise JWTError('<STR_LIT>')<EOL><DEDENT>return claims<EOL>
Returns the decoded claims without verification of any kind.

    Args:
        token (str): A signed JWT to decode the headers from.

    Returns:
        dict: The dict representation of the token claims.

    Raises:
        JWTError: If there is an exception decoding the token.