json.JSONWriter.setBooleanValue

Sets a boolean value of a JSONWriter object.

Syntax

setBooleanValue(
   value BOOLEAN)
  1. value is of boolean type.

Usage

Use this method to set a boolean value of a JSONWriter object, where value 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).