Try OpenEdge Now
skip to main content
ABL Reference
Class Properties and Methods Reference : GetCharacter( ) method (JsonObject)
 

GetCharacter( ) method (JsonObject)

Gets the JSON string value of the named property as a CHARACTER.
To get the value of other JSON data types as a string, use the GetJsonText( ) method.
Return type: CHARACTER
Access: PUBLIC
Applies to: Progress.Json.ObjectModel.JsonObject class

Syntax

GetCharacter( INPUT property-name AS CHARACTER )
property-name
A CHARACTER expression that denotes the name of the property value to be retrieved from the JsonObject.
A JsonError is raised if:
*property-name is the empty string (""), or is the Unknown value (?)
*The property does not exist
*The property value is not a JSON string
*The property value does not fit into an ABL CHARACTER