Converting the BPMN in XML to JSON

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2014 10:30 PM
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
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
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2014 03:43 AM
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…
