cancel
Showing results for 
Search instead for 
Did you mean: 

Converting the BPMN in XML to JSON

ddweerasiri
Champ in-the-making
Champ in-the-making
Hi all,
I was able to write a BPMN process using Activiti designer (2.0). I can see the BPMN process definition has been saved in the file system as an xml. Is there a feature that I can input this xml and generate JSON file out of it?

Thanks
Denis
1 REPLY 1

frederikherema1
Star Contributor
Star Contributor
Take a look at the activiti-json-converter project. You can use the org.activiti.editor.language.json.converter.BpmnJsonConverter class, to turn a BpmnModel POJO (see activiti-bpmn-model) into JSON an the other way around. Creating a BpmnModel POJO from XML can be done useing the activiti-bpmn-converter project…