Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

read/write dmn-diagram builder as json #14

Open
jangalinski opened this issue Apr 1, 2020 · 0 comments
Open

read/write dmn-diagram builder as json #14

jangalinski opened this issue Apr 1, 2020 · 0 comments
Labels
level:should module:model meta model and cmaunda converter

Comments

@jangalinski
Copy link
Contributor

jangalinski commented Apr 1, 2020

Once the diagram is build and stored as dmn-xml, the information present in the builder (condition-type, and/or) is lost.
To reuse builder declarations and have better interoperability and transperency, it would be great if we could read/write the current state of a builder from json.

Hint: Conditions and data types use interfaces and sealed classes, so the trick here is to use jackson type values to add the additional information for deSer to the classes.

Flaw: This will add a (compile time) dependency to the jackson annotations ... but jackson is already used for xml generation and spring boot (with jackson default) is a main target platform, so I am willing to sacrafice runtime independency here.)

@jangalinski jangalinski changed the title read/write dmn as json read/write dmn-diagram builder as json Sep 11, 2020
@jangalinski jangalinski added module:model meta model and cmaunda converter level:should labels Sep 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
level:should module:model meta model and cmaunda converter
Projects
None yet
Development

No branches or pull requests

1 participant