This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Servlets and the fly likes Creating JSON Response in this Format Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Creating JSON Response in this Format" Watch "Creating JSON Response in this Format" New topic
Author

Creating JSON Response in this Format

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Hi ,

Could you please tell me , how can i create a JSON response in this format inside my Servlet :



please help , thanks .


Save India From Corruption - Anna Hazare.
Pete Nelson
Ranch Hand

Joined: Aug 30, 2010
Posts: 147

The json-simple library might be just what you're looking for. Otherwise, http://www.json.org/ lists a number of other available json libraries for java.


OCPJP
In preparing for battle I have always found that plans are useless, but planning is indispensable. -- Dwight D. Eisenhower
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Creating JSON Response in this Format