Return type:
Access:
Applies to:
GetJsonArray( INPUT property-name AS CHARACTER )A CHARACTER expression indicates the name of the property value to be retrieved from the JsonObject.
property-name is the empty string (""), or is the Unkown value (?)The following example demonstrates the functionality of the GetJSonArray( ) method.
{
“CustOrder”: {
“CustNum”: 1,
“Name”: “Lift Tours”,
“NewCust”: false,
“ttOrder”: [
{“OrderNum”: 82, “OrderDate”: “2010-09-20”},
{“OrderNum”: 83, “OrderDate”: “2010-09-20”}
]
}
}
The following is a code fragment that uses the GetJsonArray( ) method:The following is the resulting myLongchar value:
[{“OrderNum”: 82, “OrderDate”: “2010-09-20”},{“OrderNum”: 83, “OrderDate”: “2010-09-20”}]
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates. |