public static String unEscapeElementEntities(String escapedSARIFString) {

		Matcher matcher = HEX_DIGIT_PATTERN.matcher(escapedSARIFString);
		StringBuilder buffy = new StringBuilder();
		while (matcher.find()) {
			int codePoint = Integer.parseInt(matcher.group(1), 16);
			matcher.appendReplacement(buffy, Character.toString(codePoint));
		}
		matcher.appendTail(buffy);

		String unescapedStr = buffy.toString();

		unescapedStr = unescapedStr.replaceAll(LESS_THAN, "<");
		unescapedStr = unescapedStr.replaceAll(GREATER_THAN, ">");
		unescapedStr = unescapedStr.replaceAll(APOSTROPHE, "'");
		unescapedStr = unescapedStr.replaceAll(QUOTE, "\"");
		unescapedStr = unescapedStr.replaceAll(AMPERSAND, "&");

		return unescapedStr;
	}
Read results from an SARIF file.

@param result       parsed SARIF results
@param options      for import/export
@param monitor      monitor that can be canceled
@throws AddressFormatException for bad locations
@throws CancelledException if cancelled
Ghidra/Features/Sarif/src/main/java/sarif/managers/SarifMgr.java