Gets the JSON boolean value of the named property as a LOGICAL.

Return type: LOGICAL

Access: PUBLIC

Applies to: Progress.Json.ObjectModel.JsonObject class

Syntax

GetLogical( INPUT property-name AS CHARACTER )
property-name
A CHARACTER expression that denotes the name of the property value to be retrieved from the JsonObject.

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
  • The property value is not a JSON boolean