7.2.6.4 The REST CLEAR statement

The REST CLEAR statement creates an empty JSON document im memory, which deletes the document left by the recent REST TRANSACT statement.

images/rest-clear-statement.gif

REST CLEAR is commonly used to prepare a JSON document from scratch with the POST or PATCH HTTP methods.