title: Creating json object from POJO object in restful web service
body: <p>I am developing a web application. I have database used by the web service. I want to send the same data to the web pages which are calling web service.</p>
  
  <p>I get the data i.e. single row from the database by using hibernate and POJO classes<code>(getColumn)</code>. Now I have object(POJO class) of the Table which represent single row of the database. For sending it back to the web pages (html, jsp), I need to convert it to the json object as my web service returns the json object.</p>
  
  <p>How can I make Json object from POJO classes. There are many other ways to generate Json String but i want json object.
  How can do this?</p>
  
  <p>Thank you</p>