def METHOD_NAME(self) -> None:
    """Test if returned string value is a JSON."""
    assert isinstance(self.formatter, SarifFormatter)
    output = self.formatter.format_result(self.matches)
    json.loads(output)
    # https://github.com/ansible/ansible-navigator/issues/1490
    assert "\n" not in output