Previous Next

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:
Access:
Applies to:
 
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 (?).

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