The operation classToExtendedJson()
takes any object (anObject
) and tries to map it to an Extended JSON string aString
.
Info |
---|
In opposition to classToJson classToJSON, classToExtendedJson() preserves the order of attributes of the converted class. JSON types and xUML types are mapped as listed in chapter jsonToClass. These details also refer to Extended JSON. |
If the conversion is not possible, an error is raised.
You can hide attributes from being serialized by applying stereotype <<E2EPrivate>>. Refer to Hiding Attributes From Interfaces for more information.