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
  • 50,076
  • 60
  • 203
  • 339
AndroidDev
  • 15,993
  • 29
  • 85
  • 119

0 Answers0