Syntax
SetValue(value)
Description
Use this method to set the value of the JSON Node.
Parameters
Name | Description |
---|---|
value | Specifies the value of the JSON Node as an Any type. |
Returns
None.
Example
Local any &aValue = %Request;
If Int(Rand() * 10) > 5 Then
&aValue = True;
End-If;
Local PSM_JSON:Node &oNode = create PSM_JSON:Node();
&oNode.SetValue(&aValue);