I have String variable called jsonString:
jsonString
{\"phonetype\":\"N95\",\"cat\":\"WP\"}
Now I want to convert it into JSON Object. I
To convert String into JSONObject you just need to pass the String instance into Constructor of JSONObject.
String
JSONObject
Eg:
JSONObject jsonObj = new JSONObject("your string");