title: How to parse JSON which has escaped quotes with GSON
body: <p>I have following JSON
  <code>[{\"X\":24.0124010872935,\"Y\":49.7740722529036,\"Code\":\"0320\",\"Name\": .....]</code></p>
  
  <p>I try to parse it as </p>
  
  <pre><code>Gson gson = new Gson();
  gson.fromJson(response.body(), RouteModel[].class)
  </code></pre>
  
  <p>And got Exception </p>
  
  <p><code>Caused by: com.google.gson.stream.MalformedJsonException: Expected name at line 1 column 3 path $[0].</code></p>
  
  <p><strong>EDIT</strong>
  So far the best solution was to add
  <code>compile 'org.apache.commons:commons-lang3:3.5'</code> dependency and use <code>gson.fromJson(StringEscapeUtils.unescapeJson(response.body()), RouteModel[].class)</code> </p>
  
  <p>Or just simply use <code>replace("\\\"","\"")</code></p>