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.