title: Spring restTemplate get raw json string
body: <p>How can I get the raw json string from spring rest template? I have tried following code but it returns me json without quotes which causes other issues, how can i get the json as is.</p>
  
  <pre><code>ResponseEntity&lt;Object&gt; response  = restTemplate.getForEntity(url, Object.class);
  String json = response.getBody().toString();
  </code></pre>