File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Dynamically Generate JSON Data.

 
zohaib khan
Greenhorn
Posts: 22
  • 0
  • 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
Pie
Posts: 42966
73
  • 0
  • 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