I followed this link and found that one of the answer says that we can create a JSON object by using this constructor:
JSONObject jsonObj=new JSONObject(String_to_Be_Parsed);
But when I downloaded the library of JSON and put that jar in my project I found that it supports only two constructors namely:
JSONObject()
JSONObject(boolean)
Although the documentation in the site of JSON also have a number of constructors including the one I want, JSONObject(String)
?
What should I do?