public void write(JsonArray results, TaskMonitor monitor) throws IOException, CancelledException {
		monitor.setMessage("Writing DATA TYPES ...");

		List<DataType> dataTypeList = new ArrayList<>();
		dataManager.getAllDataTypes(dataTypeList);

		writeAsSARIF(program, dataTypeList, results);
	}
Writes datatypes into SARIF using the specified SARIF writer.

@param results the SARIF writer
@param monitor the task monitor
@throws CancelledException if the user cancels the write operation
Ghidra/Features/Sarif/src/main/java/sarif/managers/DataTypesSarifMgr.java