• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Dynamically Generate JSON Data.

 
zohaib khan
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I want to generate following JSON data dynamically using JSP and database.

following is the table and json structure data.



Any Solution?


- Thanks
Zohaib.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I assume that retrieving the data from the DB presents no problem. For creating JSON I'd use one of the available libraries like http://www.stringtree.org/stringtree-json.html or http://www.json.org/java/.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic