79102103

Date: 2024-10-18 12:39:53
Score: 0.5
Natty:
Report link

Not by returning a SYS_REFCURSOR and letting ORDS generates the JSON, it will always be a list of simple objects, if you want a hierarchical structure you need to generate the JSON yourself (JSON_OBJECT, JSON_ARRAY, JSON_ARRAYAGG, ...), and remember to name the column "{}someName" to avoid ORDS to escape it.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: p3consulting