How to get moddle json file?

I want use moddle on uml. But moodle need json, I only have uml.ecore/uml.cmof. So, how to convert json from cmof/ecore? cmofparser can’t save json.

That’s correct, the cmof-parser only returns the object and does not save the result into a file. You’ll have to that on your own. You can have a look how the bpmn-moddle handles the generated object and exports the results into a json file afterwards.

Thanks a lot. bpmn,io is a great job.

1 Like