Previous Next

GetLongchar( ) method (JsonObject)
Gets the JSON string value of the named property as a LONGCHAR.
To get the value of other JSON data types as a string, use the GetJsonText( ) method.
Return type:
Access:
Applies to:
 
Syntax 
GetLongchar( INPUT property-name AS CHARACTER )
 
GetLongchar( INPUT property-name AS CHARACTER,
             INPUT code-page AS CHARACTER )
 
If code-page is specified, the returned LONGCHAR is set to that code-page. By default, the returned LONGCHAR is set to –cpinternal.
property-name
A CHARACTER expression that denotes the name of the property value to be retrieved from the JsonObject.
code-page
A CHARACTER expression specifying the code page to which the returned LONGCHAR should be set. If this parameter is the empty string ("") or is the Unknown value (?) it defaults to –cpinternal.
A JsonError is raised if:
*
property-name is the empty string (""), or is the Unkown value (?)
*
code-page is not supported by OpenEdge
*
*

Previous Next
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates.