Meaningless Drivel is fun!
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
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Converting resultset to JSON" Watch "Converting resultset to JSON" New topic

Converting resultset to JSON

Em Aiy
Ranch Hand

Joined: May 11, 2006
Posts: 226
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:
subject: Converting resultset to JSON
It's not a secret anymore!