Link

Syntax

SetClass(class_object)

Description

Use this method to set the class object of the JSON Node.

Parameters

Name Description
class_object Specifies the class object of the JSON Node as an App Class Object type.

Returns

None.

Example

Local PTPP_COLLECTIONS:Shortcut &oCref;
&oCref = create PTPP_COLLECTIONS:Shortcut(%Portal, "PT_CHANGE_PASSWORD_GBL");
   
Local PSM_JSON:Node &oNode = create PSM_JSON:Node();
   
&oNode.SetClass(&oCref);