title: RestTemplate consuming Json string
body: <p>I'm trying to consume a service returning a json String with content-type <code>application/json</code>, with Spring RestTemplate.</p>
  
  <p>The response looks like this:</p>
  
  <pre><code>============================response begin==========================================
  response: 200 OK
  Headers
      Content-Length  : 108
      Content-Type    : application/json; charset=utf-8
  Response Body : "a string with double quotes, JSON valid"
  =======================response end=================================================
  </code></pre>
  
  <p>Now, when I'm using:</p>
  
  <pre><code>String result = template.postForObject("http://...", request, String.class)
  </code></pre>
  
  <p>result always contains <code>"\"a string with double quotes, Json valid\""</code>, whereas I would like to receive it escaped, <code>"a string with double quotes, Json valid"</code>.</p>
  
  <p>I would also like to receive this answer without having to parse it.</p>
  
  <p>It seems quite a trivial problem to me, but I haven't found any SO question or other resources on the web.</p>