String bpmmodelString=workFlowTransFormEntityInfo.getBpmnModel();
ObjectMapper mapper = new ObjectMapper();
JsonNode actualObj = null;
try {
actualObj = mapper.readTree(bpmmodelString);
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
BpmnJsonConverter jsonConverter2 = new BpmnJsonConverter();
BpmnModel bpmnModel_DB= jsonConverter2.convertToBpmnModel(actualObj);
转载于:https://www.cnblogs.com/watchfluture/p/11262899.html