The operation classToExtendedJson()
takes any object (anObject
) and tries to map it to an Extended JSON string aString
.
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.