Syntax
GetJsonNode(name)
Description
Use this method to return the Json node mentioned by the input parameter from the JSON Object.
Parameters
Name | Description |
---|---|
name | Specifies the name of the Json node as a string |
Returns
JsonNode.
Example
Local any &aValue = "hello";
If Int(Rand() * 10) > 5 Then
&aValue = True;
End-If;
Local PSM_JSON:Object &oObject = create PSM_JSON:Object();
&oObject.AddProperty("MyProperty", &aValue);
Local JsonNode &joJson = &oObject.GetJsonNode("MyProperty");
/* Evaluate &joJson.GetValueType() for type ... */