GetJsonObject( ) method (JsonArray)
Return type:
Access:
Applies to:
GetJsonObject( INPUT index AS INTEGER )GetJsonObject( INPUT index AS INTEGER,INPUT count AS INTEGER )When this method is called with one parameter, the value of a single element is returned. Using two parameters directs the AVM to return an ABL array consisting of count elements.An INTEGER identifying the value of the element to be returned. Indexing into JsonArrays is 1-based.An INTEGER specifying the number of elements, starting with the element at index, to be returned in the ABL array.
![]()
index is less than 1, is greater than the length of the JsonArray, or is the Unknown value (?)
![]()
[{“OrderNum”: 82, “OrderDate”: “2010-09-20”},{“OrderNum”: 83, “OrderDate”: “2010-09-20”}]The following is the resulting myLongchar value:
{“OrderNum”: 83, “OrderDate”: “2010-09-20”}
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates. |