I am using Jersey which was creating an object out of the JSON or xml from the client.
Now, I am using JSONp to create a object. Since jsonp cannot do a post, I am left with sending data using get.
Can I use GET request and still deserialize? I know I can use @QueryParam for each and then somehow deserialize. But like POST and Put, can I just give it a input parameter and expect Jersey to deserialize automaticaly.
How can I deserialize a json into java object using Jersey?
Thanks.