]
Guilherme Gomes updated DROOLS-4515:
------------------------------------
Summary: [DMN Designer] Kogito - DMNMarshaller - Improve JsArrayLike-getter-APIs
(was: [DMN Designer] Kogito - DMNMarshaller - Improve JsArrayLike-based APIs)
[DMN Designer] Kogito - DMNMarshaller - Improve
JsArrayLike-getter-APIs
-----------------------------------------------------------------------
Key: DROOLS-4515
URL:
https://issues.jboss.org/browse/DROOLS-4515
Project: Drools
Issue Type: Enhancement
Components: DMN Editor
Reporter: Guilherme Gomes
Assignee: Guilherme Gomes
Priority: Major
Labels: drools-tools
Attachments: json.png, stack.png
Currently, the {{DMNMarshaller}} works following this stack:
!stack.png|width=400!
However the {{JSITDefinitions}} class (and all other DMN classes related to *Jsonix*) are
"artificially" typed JSON objects. This objects define odd list structures, like
this:
!json.png|width=400!
Ideally, the list of DRGElements would be a list of the entries in the *value* key, and
the entries from the *name* key would be discarded.
This JIRA comprehends to change {{JsArrayLike}}-based APIs to {{java.util.List}} APIs.