Reputation: 19733
My JSON response contains characters in decimal format such as
My Friend's Story
instead of
My Friend's Story
How do I convert them properly?
Upvotes: 0
Views: 500
Reputation: 89179
That's simple: You can use org.json.JSONTokener to solve your problem....
String json = "\"My Friend's Story\"";
String value = (String)new JSONTokener(json).nextValue();
Upvotes: 0