Need help on dynamically creating bpmn diagram

I want to create bpmn digram from json data.Is it possible to create bpmn file from json dynamically?.Is there any library to refer it and convert it to bpmn file and use viewer?.
please replay.

You could use bpmn-js-cli.

I need to convert json array to bpmn-xml programatically .Is it possible in a dynamic way?
Thanks in advance.

Yes it is. Read the JSON and create your BPMN diagram using the tool that @philippfromme mentioned.

There is no JSON to XML converter available at this stage I believe that makes this “magically” work.