Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. declare
  2. sample_json varchar2 (32767)
  3. := '{
  4.  
  5. "NAME":"AUDI","YEAR":"2000","NAME":"BMW","YEAR":"2010"
  6. }';
  7. begin
  8. apex_json.parse (sample_json);
  9. dbms_output.put_line (apex_json.get_varchar2 ('NAME'));
  10. dbms_output.put_line (apex_json.get_varchar2 ('YEAR'));
  11. end;
  12.  
  13. {"NAME":"AUDI","YEAR":"2000","NAME":"BMW","YEAR":"2010"}
  14.  
  15. {"NAME":"BMW","YEAR":"2010"}
  16.  
  17. [{"NAME":"AUDI","YEAR":"2000"},{"NAME":"BMW","YEAR":"2010"}]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement