In Java (using json-simple) I have successfully parsed a JSON string which was created in JavaScript using JSON.stringify. It looks like this:
{\"teq\":14567,\"
Add dependency from https://github.com/google/gson and use it like
Gson gson= new Gson(); CustomPOJOClass obj = gson.fromJson(jsonObject.toString(),CustomPOJOClass.class);