json.JSONReader.getBooleanValue

Gets a boolean value of a JSONReader object.

Syntax

getBooleanValue(
   b BOOLEAN)
  1. b is of boolean type.

Usage

Use this method to get a boolean value of a JSONReader object, where b can be TRUE (integer 1) or FALSE (integer 0).

In case of error, the method throws an exception and sets the status variable. Depending on the error, a human-readable description of the problem is available in the sqlca.sqlerrm register. See Error handling in GWS calls (status).