Page History
[ |../../index.htm#lansa/jsoneng01_0040.htm]
You are here:
...
Read..AtIndex extracts a value from an array element with the specified index.
The "current" element must be an array.
- Declare an XPRIM_JsonObject to hold the contact number
Define_Com Class(#XPRIM_JsonObject) Name(#ContactNoItem) - Get the object at index 1
#ContactNoItem.Refer To(#Reader.ReadObjectAtIndex(1)) - Pass the object to another method
#AnotherComponent.ProcessContactNo Object(#ContactNoItem)
[ |../../index.htm#lansa/jsoneng01_0040.htm]