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.

property-name is case-sensitive.

A JsonError is raised if:

  • property-name is the empty string (""), or is the Unknown value (?)
  • The property does not exist