json.JSONWriter.setValue

Sets the value of a JSONWriter object.

Syntax

setValue(
   value AnyType)
  1. value can be of various kind of types.

Usage

Use this method to set the value of a JSONWriter object, where value can be a simple string, numeric value, or a structured type (object or array).

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).