Hi all,
have a following problem. I need to create an object with a filesystem path as a value
{
'path': '/my/path'
}
the problem is that apex_json.write always escapes special characters so I get
{
'path': '\/my\/path'
}
instead. can I avoid escaping somehow ?
declare
v_string varchar2(1000) := '/py/path';
v_out_json clob;
begin
apex_json.initialize_clob_output;
apex_json.open_object();
apex_json.write('my_path',v_string);
apex_json.close_object();
v_out_json := apex_json.get_clob_output;
apex_json.free_output;
dbms_output.put_line(v_out_json);
end;