title: Constructing JSON string from Oracle DB
body: <p>I have a Web application which gets it data from a JSON string.
  The JSON is in the following format</p>
  
  <pre><code>{
      "contacts": [{
          "type": "contact",
          "name": "John Doe",
          "contact": 1,
          "links": ["Spouse", "Friends","Jane Doe","Harry Smith"]
                   }]
  }
  </code></pre>
  
  <p>Now this is a sample data. My actual DB is in Oracle. My question would be how do I construct this JSON from Oracle.</p>