public static void writeAsSARIF(Program program, List<DataType> dataTypeList, JsonArray results)
			throws IOException {
		SarifDataTypeWriter writer = new SarifDataTypeWriter(program.getDataTypeManager(), dataTypeList, null);
		new TaskLauncher(new SarifWriterTask("DataTypes", writer, results), null);
	}
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