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

GetType( ) method (JsonObject)

Gets JSON data type for the named property. The returned integer corresponds to the static integer properties defined in the Progress.Json.ObjectModel.JsonDataType class.
Return type: INTEGER
Access: PUBLIC
Applies to: Progress.Json.ObjectModel.JsonObject class

Syntax

GetType( INPUT property-name AS CHARACTER )
property-name
A CHARACTER expression naming the property to get the JSON data type.
A JsonError is raised if:
*property-name is the empty string (""), or is the Unknown value (?)
*The property does not exist