wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes Converting resultset to JSON Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Converting resultset to JSON" Watch "Converting resultset to JSON" New topic
Author

Converting resultset to JSON

Em Aiy
Ranch Hand

Joined: May 11, 2006
Posts: 225
I need to convert my resultset (being retrieved from jdbc query) to json. But i am not giving a clue to do it. (i don't have that much expereince in javA)

the resultset i have consists of 4 fields

1: user
2: windowTitle
3: application
4: duration

and there will be number of entries. i.e its like this list



Please guide me.


The difference between <b>failure</b> and <b>success</b> is often being <b>right</b> and being <b>exactly right</b>.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Converting resultset to JSON
 
Similar Threads
JSON+Jquery
how to, JSON data
How to receive json data in request
Struts2-json plugin not serializing action class to json
Handling Ajax response in struts2