1

I am using Android SpringRest with Jakson. Currently I am using:

restTemplate.postForObject(baseURL + url, 
                           postCarDetail, 
                           ReplyToAdResponse.class, 
                           auth_token);

Now I want to check if everything in the postCarDetail object is in the correct format. How can I convert this postCarDetail into a JSON string?

JJD
  • 47,369
  • 53
  • 194
  • 328
AndroidDev
  • 15,221
  • 28
  • 80
  • 118

0 Answers0