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,\"
There are lot of libraries that does this. This is my suggestion. Here you can find the library
import com.google.gson.Gson;
and then do,
Gson gson = new Gson(); Student student = gson.fromJson(jsonStringGoesHere, Student.class);
Maven Dependency
com.google.code.gson gson 2.2.4