This week's book giveaways are in the Refactoring and Agile forums. We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line! See this thread and this one for details.
I need help in consuming a REST based web service. I have to invoke the web service and authenticate it using Basic authentication.
The service returns results in form of JSON.
I found out that I can use Jersey API for consuming the service. I want to deserialize the JSON formatted string and create Java Beans/pojos. I do not know how to deserialize the JSON formatted strings.
I use Eclipse 3.3 as IDE
Please give me some suggestion regarding the deserialization of JSON.