def METHOD_NAME(redis, key: str) -> Any:
    """
    Gets a JSON serialized value from the cache.
    """
    cached_value = redis.get(key)
    if cached_value:
        logger.debug(f"Redis Cache - hit {key}")
        try:
            deserialized = json.loads(cached_value)
            return deserialized
        except Exception as e:
            logger.warning(f"Unable to deserialize json cached response: {e}")
            # In the case we are unable to deserialize, delete the key so that
            # it may be properly re-cached.
            redis.delete(key)
            return None
    logger.debug(f"Redis Cache - miss {key}")
    return None