Return type:
Access:
Applies to:
GetJsonArray( INPUT index AS INTEGER )GetJsonArray( INPUT index AS INTEGER,INPUT count AS INTEGER )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 (?)
![]()
count is less than 1 or is the Unknown value (?)
![]()
The following example demonstrates the functionality of the GetJSonArray( ) method.
[
{“OrderNum”: 82, “OrderDate”: “2010-09-20”},
{“OrderNum”: 83, “OrderDate”: “2010-09-20”},
[“Q1”, “Q3”, 15, 1980, null, 2010]
]
The following code fragment demonstrates the use of GetJsonArray( ) method:The following is the resulting myLongchar value:
[“Q1”, “Q3”, 15, 1980, null, 2010]
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates. |