Gets one or more elements as a LONGCHAR or LONGCHAR array, regardless of the JSON data type.
The following are the type of return values:
The method is useful especially in situations where JSON number values cannot be represented by any of the ABL numeric data types (INTEGER, INT64 and DECIMAL). This method allows you to retrieve values regardless of the JSON data type. GetCharacter( ) and GetLongchar( ) require that the JSON value be a JSON string.
Return type: LONGCHAR
Access: PUBLIC
Applies to: Progress.Json.ObjectModel.JsonArray class
GetJsonText( ) GetJsonText( INPUT index AS INTEGER ) GetJsonText( 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 no parameters directs the AVM to return the value of the entire JsonArray. Using two parameters directs the AVM to return an ABL array consisting of count elements.
A JsonError is raised if: