jsonToClass() Operation
Syntax |
| |
---|---|---|
Semantics | The operation By default, the following mapping rules apply:
For more mapping details refer to JSON Type Mapping. | |
Substitutables |
| A JSON document as String. |
| Target object, can be any object. | |
| String literal. | |
Examples |
NONE
The action script below creates an object of type Address. An output object flow state named myAddress of type Address needs to be defined in the activity diagram.
NONE
The example below shows how to specify the xUML type at runtime, e.g. if using a derived class.
NONE
The xUML type is declared by the attribute " |
For more information on JSON refer to the JSON Homepage or to RFC 4627.
Related Documentation: