private List<TestJsonFunction> readFromJson(File file) throws Exception {

		List<TestJsonFunction> results = new ArrayList<>();
		Gson gson = new Gson();
		BufferedReader br = new BufferedReader(new FileReader(file));
		JsonReader reader = new JsonReader(br);

		// the file is an array of objects
		reader.beginArray();
		while (reader.hasNext()) {
			TestJsonFunction function = gson.fromJson(reader, TestJsonFunction.class);
			results.add(function);
		}
		reader.endArray();
		reader.close();

		return results;
	}
Tests the {@code ExportFunctionInfoScript}, which writes Ghidra function object info in JSON
form for the entire program
Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/script/ExportFunctionInfoScriptTest.java