I have to return a DTO from service which looks like this:
ResponseDTO
{
Long id;
String name;
//getter and setter etc.
}
Service returns response in json format, and I am using org.codehaus.jackson.jaxrs.JacksonJsonProvider
for conversion but at client side when I get response then id value gets changed automatically.
for e.g:- from service side I set value of id as Long.MAX_VALUE but client side json response shows me value "9223372036854776000" which is not the value which I am sending from service.
Am I missing something here?