Is it possible to get Capella elements in JSON format?

Hello,

I was wondering if it was possible to get Capella elements (mainly the actors and their associated properties) into a JSON format. I don’t see any type of export option for this. I imagine it can be done using python4capella and writing a script that will generate that information by itself, but if there are any ways to do this natively in Capella I would love to know. Thank you!

I don’t think there is - Python 4 Capella would be the way indeed.

1 Like

Hello,

Capella models being EMF-based, you could use GitHub - eclipse-sirius/sirius-emf-json: JSON-based EMF Resource implementation - part of Eclipse Sirius to implement such an export but this is not Capella-native (not included in Capella) and thus would require some additional installation/setup/development.

Regards,
Arnaud