title: Create JSON Output from Oracle REF Cursor
body: <p>Good Evening,
  I am trying to output JSON from Oracle SQL Query(Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit, Hence Cannot Generate a JSON Output) </p>
  
  <p>Came Across this Solution from <a href="https://www.experts-exchange.com/articles/12232/Creating-JSON-from-Oracle-using-SYS-REFCURSOR.html" rel="nofollow noreferrer">here</a></p>
  
  <p>The Output</p>
  
  <pre><code>{"metadata":[{"name":"EMPNO","type":"number"},{"name":"ENAME","type":"text"},{"name":"JOB","type":"text"},{"name":"DEPTNO","type":"number"}],"data":[
    {
      "EMPNO":"7369",
      "ENAME":"SMITH",
      "JOB":"CLERK",
      "DEPTNO":"20"
    }
  ]}]}
  </code></pre>
  
  <p>But my Expected Output is Following Below</p>
  
  <pre><code> {
      "EMPNO":"7934",
      "ENAME":"MILLER",
      "JOB":"CLERK",
      "DEPTNO":"10"
    }
  </code></pre>
  
  <p>Need your Advice on how to ignore the Metadata line in the JSON Output.</p>