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!

Return json object using PL/JSON to ajax function.

ParaSep 11 2015 — edited Sep 14 2015

'Ello. Apex version 4.2.6. ( )

I'm using pl/json library to create my json object.

Current idea of a page.


On load ajax function that calls ON demand process which should look like this. Then it returns JSON ( or even string , I can parse it ) and I use that return to create my chart.

declare

  ret json;

begin

  ret := json_dyn.executeObject('select 1 from dual');

  -- I'm missing some kind of return. I used json_from_sql before and it was returning ( string I guess ) by itself .

end;


Libraries

https://github.com/pljson/pljson

Chartist - Simple responsive charts

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 12 2015
Added on Sep 11 2015
10 comments
3,266 views