The operation classToExtendedJson()
takes any object (anObject
) and tries to map it to an Extended JSON string aString
.
Info |
---|
In opposition to 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.
Info |
---|
classToExtendedJSON() does not support cyclic structures. When a cyclic structure is detected during serializing the given object, an exception will be thrown.
|