This week's book giveaway is in the HTML/CSS/JavaScript forum.
We're giving away four copies of Practical SVG and have Chris Coyier on-line!
See this thread for details.
Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Jersey JSON notation conflicts

 
Girish Vasmatkar
Ranch Hand
Posts: 201
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi


I am developing a RESTful client for a RESTful webservice and the data exchange format specified by the service is JSON. I am using Jersey 1.2 API for interacting with the service. This might seem a dumb question but I have a doubt and need your suggestions on this -

There are four different types of JSON notations namely MAPPED (default for Jersey), NATURAL, JETTISON_MAPPED and BADGERFISH. I am unsure on which type of notation the web service is going to send the response in because I have not yet received detailed specifications on the service.

My question is, if use the default notation, i.e. MAPPED one and the service returns the response in, say, JETTISON_MAPPED, is it going to create problems ? Similarly, if I send JSON request in MAPPED notation form while the service used JETTISON_MAPPED, will it cause processing errors at the service end ?

Please clarify.
 
Girish Vasmatkar
Ranch Hand
Posts: 201
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bump
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!