TO_CLOB Function
Stringifies the object.
Syntax
MEMBER FUNCTION to_clob
RETURN CLOB;Returns
The object as a CLOB. Throws an error if the object is not well formed or has unclosed structures. If no methods have been called on the object, null as a string is returned.
Example
Get the stringified representation of the object type.
declare
l_obj apex_t_javascript_object := apex_t_javascript_object();
begin
l_obj.open_object;
l_obj.close_object;
sys.dbms_output.put_line( l_obj.to_clob );
end;
Output:
{}
Parent topic: APEX_T_JAVASCRIPT_OBJECT