@SuppressWarnings("unchecked")
	private DataType findDataType(Map<String, Object> type) {
		String loc = (String) type.get("location");
		if (loc == null) {
			Map<String, Object> subtype = (Map<String, Object>) type.get("subtype");
			if (subtype != null) {
				loc = (String) subtype.get("location");
			}
		}
		return findDataType(type, new CategoryPath(loc));
	}
Reads the datatypes encoded in SARIF from the specified SARIF parser and
recreates them in a datatype manager.

@param result  the SARIF parser
@param monitor the task monitor
@throws SAXParseException  if an SARIF parse error occurs
@throws CancelledException if the user cancels the read operation
Ghidra/Features/Sarif/src/main/java/sarif/managers/DataTypesSarifMgr.java