Syntax
SetHash(hash_value)
Description
Use this method to set the hash value of the JSON Node.
Parameters
Name | Description |
---|---|
hash_value | Specifies the hash value of the JSON Node as a Hash object. |
Returns
None.
Example
Local Hash &hHash = CreateHash();
&hHash.SetValue("tst", "hello");
&hHash.SetValue("val", True);
&hHash.SetValue("what", 2);
Local PSM_JSON:Node &oNode = create PSM_JSON:Node();
&oNode.SetHash(&hHash);