OpenWGA 7.7 - TMLScript reference

WGA
Method :

deserializeObject(string)

On object WGA
Usage Converts a string created by serializeObject() back to the original object
Description

The object returned by this method is in fact an exact copy of the object that was used on serializeObject() with the exact same data. So in terms of object equality and identity it is "equal" but not "the same".

For backward compatibility there still is a global function "deserializeObject()" available whose use is discouraged since OpenWGA 5.3.

Parameters string (String):
The serialized object string
Return value The back-converted object
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events