title: Java JSON Parse literal string
body: <p>I'm making Java Application which runs with C++ Server and want to receive a JSON Object from the server. Basiclly I'm sending LatLng(Latitude, Longtitude) to the server and it's returning me elements from the Google Maps API, but the problem is that the return elements have escape characters in them and I can't parse them with JSONObject.</p>
  
  <pre><code>@Override
  protected void onPostExecute(string output) {
      super.onPostExecute(output);
      try {
          JSONObject data = new JSONObject(output);
          String test = data.getJSONObject("main_Points").getString("name");
          System.out.print(test);
      } catch(Exception ex) {
          ex.printStackTrace();
      }
  }
  </code></pre>
  
  <p>And here's my JSON Object (Error:org.json.JSONException: Unterminated object at character 579)</p>
  
  <pre><code>{  
  "main_Points":{  
    "final":{  
       "lat":42.502812,
       "lng":27.4691601,
       "name":"бул. „Сан Стефано“ 62, 8001 ж.к. Братя Миладинови, Бургас, България"
    },
    "start":{  
       "lat":42.4912504,
       "lng":27.4725683,
       "name":"бул. „Иван Вазов“ 1, 8000 Бургас Център, Бургас, България"
    }
  },
  "nearestPoints":{  
    "final":{  
       "lat":42.503294,
       "lng":27.468482,
       "name":"БСУ"
    },
    "start":{  
       "lat":42.490604,
       "lng":27.474128,
       "name":"Автогара Юг"
    }
  },
  "polylines":{  
    "final":"qilbGgatfDR`Bo@?eA\\",
    "middle":"}|ibGi`ufD@~@Ah@MVGMwB`@@bCG~CeFtBiBr@yApAeBl@sBr@aDbAiC|@cCr@uJfCaDz@{ElAoCl@OC_B^}Bh@Gm@m@cF_A@eA\\",
    "start":"iajbGqvtfDAaDvBa@FLLW@i@A_A"
  }
  }
  </code></pre>