json.JSONWriter.setProperty

Sets a property of a JSONWriter object.

Syntax

setProperty(
   name STRING)
  1. name is a string identifying the element in the name-value pair of the JSON string.

Usage

Use this method to set a property of a JSONWriter object, where name identifies the element in the name-value pair of the JSON string.

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