json.JSONWriter.startJSON

Begins JSON encoding to the JSONWriter stream.

Syntax

startJSON()

Usage

This method begins encoding to the JSONWriter stream. Each call to this method must be paired with a call to endJSON.

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