To get the value of other JSON data types as a string, use the GetJsonText( ) method.
Return type:
Access:
Applies to:
GetLongchar ( INPUT index AS INTEGER )GetLongchar ( INPUT index AS INTEGER,INPUT code-page AS CHARACTER )GetLongchar ( INPUT index AS INTEGER,INPUT count AS INTEGER )GetLongchar ( INPUT index AS INTEGER )INPUT count AS INTEGER )INPUT code-page AS CHARACTER )If code-page is specified, the returned LONGCHAR will be set to that code-page. By default, the returned LONGCHAR will be set to –cpinternal.When this method is called without the count parameter, the value of a single element is returned. Using the count parameter 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.If code-page is specified, the returned LONGCHAR is set to that code-page. By default, the returned LONGCHAR is set to –cpinternal. To get the string value of other JSON data types use the GetJsonText( ) method.
index is less than 1, greater than the length of the JsonArray, or is the Unknown value (?)
count is less than 1 or is the Unknown value (?)
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates. |