title: Unexpected character ('\' (code 92)) in jackson
body: <p>Am facing issue while parsing JSON string with Jackson in some cases.</p>
  
  <pre><code>String jsonString = "{\"Age\":40, \"Name\":\"Sample User\"}";
  ObjectMapper mapper = new ObjectMapper();
  mapper.readValue(jsonString,JsonNode.class);
  
  System.out.println(jsonstirng)
  {"Age":40, "Name":"Sample User"}
  </code></pre>
  
  <p>Above code works well when I pass <code>jsonString</code> value.</p>
  
  <p>In some cases I need to escape invalid string characters like <code>",'</code> etc</p>
  
  <p>For escaping I am using <strong>Apache</strong> <code>StringEscapeUtils</code>.</p>
  
  <pre><code>String escapedString = StringEscapeUtils.escapeJson(jsonStirng);
  </code></pre>
  
  <p>Escaped String output </p>
  
  <pre><code>{\"Age\":40,\"Name\":\"Sample User\"}
  </code></pre>
  
  <p>When I pass escapedString to <code>mapper</code> its throw Unexpected character exception.</p>
  
  <pre><code>ObjectMapper mapper = new ObjectMapper();
  mapper.readValue(escapedString,JsonNode.class);
  </code></pre>
  
  <p>Exception </p>
  
  <pre><code>Unexpected character ('\' (code 92)): was expecting double-quote to start field name
  </code></pre>
  
  <p>Actually Am parsing ModSecurity audit logs. Response body of audit log has  (html,css,javascript etc)  stuff that's why I need to escape JSON string other wise its breaks the JSON format.</p>