I have String variable called jsonString:
jsonString
{\"phonetype\":\"N95\",\"cat\":\"WP\"}
Now I want to convert it into JSON Object. I
To anyone still looking for an answer:
JSONParser parser = new JSONParser(); JSONObject json = (JSONObject) parser.parse(stringToParse);