json.JSONReader.hasNext

Checks whether the JSONReader cursor can be moved to a node next to it.

Syntax

hasNext()
  RETURNS BOOLEAN

Usage

Use this method to check if there is still a JSONReader object in the stream. It returns TRUE if there is, FALSE otherwise.

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