json.JSONWriter.setValue
Sets the value of a JSONWriter object.
Syntax
setValue(
value primitive-type)
- value can be of primitive-types.
Usage
Use this method to set the value of a JSONWriter object, where value can be a primitive type such as a simple string or a numeric value.
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).