Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How can I generate an empty string with APEX_JSON.WRITE

Jose ArósteguiJun 3 2016 — edited Jun 9 2016

Hi experts,


I'm using APEX 5.0 and would like to generate a JSON Payload like this:

{"assigned_id": ""}

But don't know how to make it with apex_json.write. Whole sample would be:

BEGIN

  apex_json.initialize_clob_output;

  apex_json.open_object;

  apex_json.write('assigned_id', '');

  apex_json.close_object;

  dbms_output.put_line(apex_json.get_clob_output);

  apex_json.free_output;

END;

Thanks in advance,
Jose.

This post has been answered by Pavel_p on Jun 9 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 7 2016
Added on Jun 3 2016
6 comments
996 views