I am extracting data from webservice which I am processing in a JSON string. During parsing, I am this exception: "org.json.JSONException: Unterminated string at character 1834"
my code
String jsonstring=getJSONString(response); JSONObject json = new JSONObject(jsonstring);
Line:
[{"LotDescription":"David Weekley homes Traditional Collection in Baxter Village offers floor plans featuring innovative design and unsurpassed quality. This charming community combines work, play and living, all within the Village. In Baxter Village, you’ll enjoy: Parks, playgrounds"}]
It parses to the word "Village" and raises an exception when parsing "you & rsquo; ll", which seems to be some HTML content.
What is the solution for this?
Mahe
source share