GetType( ) method (JsonArray)
- Last Updated: February 11, 2026
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
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
|
- 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 (?).