This procedure flushes pending changes. Note that close procedures automatically flush.
Syntax
APEX_JSON.FLUSH
Parameters
None.
Example
This example writes incomplete JSON.
BEGIN apex_json.open_object; apex_json.write('attr', 'value'); apex_json.flush; sys.htp.p('the "}" is missing'); END;