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

GetType( ) method (JsonArray)

Gets JSON data type for the identified element. 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.JsonArray class

Syntax

GetType( INPUT index AS INTEGER )
index
An INTEGER identifying the element whose type is to be returned. Indexing into JsonArrays is 1-based.
A JsonError is raised if index is less than 1, is greater than the length of the JsonArray, or is the Unknown value (?).