Hi All,
I serialize this model into JSON minimal:
package FlashlightStarterModel {
package FlashlightSpecificationAndDesign {
package Actions {
action produceDirectedLight {
action provideDCPwr;
action connectDCPwr;
fork fork1;
then provideDCPwr;
then connectDCPwr;
first start then fork1;
} // package Actions
}
} // package FlashlightStarterModel
}
when I deserialize it back to text I get:
package FlashlightStarterModel {
package FlashlightSpecificationAndDesign {
package Actions {
action produceDirectedLight {
action provideDCPwr;
action connectDCPwr;
fork fork1;
then provideDCPwr;
then connectDCPwr;
first Actions::Action::start then fork1;
}
} // package Actions
} // package FlashlightSpecificationAndDesign
} // package FlashlightStarterModel
This is wrong: first Actions::Action::start then fork1;
Please advise,
Thanks,
Robert