11.11.8 ItemAt Property
Gets a child element at the specified index. The index starts from 1.
Returns *NULL if there is no element at the specified index, or if this element is not an array or object.
Property Type
Arguments
|
Examples
The following retrieves a child element at index 1 from the JSON array #ResponseJSON.
Define_Com Class(#XPRIM_JsonElement) Name(#ResponseJSON) Reference(*DYNAMIC)
. . .
#FIRST_ERROR_TEXT := #ResponseJson.ItemAt<1>.AsString