lbl-srg / modelica-json

Modelica to JSON Parser
Other
21 stars 17 forks source link

Issue while parsing enumerations from raw-json to simplified-json #228

Closed anandkp92 closed 4 months ago

anandkp92 commented 6 months ago

The below command produces a json containing both enumeration types.

node app.js -f ~/<path_to_MBL>/modelica-buildings/Buildings/Controls/OBC/CDL/Types/Smoothness.mo -o raw-json -d types_test

However, when we do -o json, the enumeration types are no longer present.

node app.js -f ~/<path_to_MBL>/modelica-buildings/Buildings/Controls/OBC/CDL/Types/Smoothness.mo -o json -d types_test