This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Other Open Source Projects and the fly likes how to populate databean value to JSON Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "how to populate databean value to JSON" Watch "how to populate databean value to JSON" New topic
Author

how to populate databean value to JSON

Deepakkumar Devarajan
Ranch Hand

Joined: Apr 19, 2011
Posts: 54

Hi All,

I have an object of a databean in jsp, I want to populate the values of this databean object in a json object. Is there a possiblity to achieve this? Thanks in adavance for your reply.

Regards,
Deepakkumar Devarajan
William P O'Sullivan
Ranch Hand

Joined: Mar 28, 2012
Posts: 859

This might be what you're looking for ...

http://code.google.com/p/google-gson/

WP
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to populate databean value to JSON