title: How to write to raw string with jackson 2
body: <p>I want to write an object to a raw json String. for  example i have one class </p>
  
  <pre><code>class Tiger{
      String name;
      int age;
  }
  
  Tiger tiger = new Tiger("red", 12);
  </code></pre>
  
  <p>Then i use ObjectMapper of jackson to write it to string</p>
  
  <pre><code>ObjectMapper objectMapper = new ObjectMapper();
  String result = objectMapper.writeValueAsString(tiger);
  </code></pre>
  
  <p>The result is: </p>
  
  <pre><code> "{"name":"red","age":12}"
  </code></pre>
  
  <p>But i want to write the object to raw json string like this:</p>
  
  <pre><code>"{\"name\":\"red\",\"age\":12}"
  </code></pre>
  
  <p>I know that we can create a function to transform the normal string to raw string by adding "\", but i wonder is there any better solution for this?</p>