Syntax
GetElement(index)
Description
Use this method to return the element value at the index location.
Parameters
Name | Description |
---|---|
index | Specifies the index in the JSON Array as an integer. |
Returns
Any.
Example
Local Record &rPsOptions = CreateRecord(Record.PSOPTIONS);
&rPsOptions.SelectByKey();
Local PSM_JSON:Array &oArray = create PSM_JSON:Array();
&oArray.AddRecord(&rPsOptions);
Local JsonObject &joJson = &oArray.GetElement(1);