class WorkflowReportJSON {

	public void save(WorkflowReport wfReport, Path path) throws IOException {
		ObjectMapper om = makeObjectMapperForSave();
		try (Writer w = newBufferedWriter(path, Charset.forName("UTF-8"),
				WRITE, CREATE, TRUNCATE_EXISTING)) {
			om.writeValue(w, wfReport);
		}
	}

}