POM.xml
<dependency>
<groupId>org.codehaus.jackson</groupId>
<artifactId>jackson-mapper-asl</artifactId>
<version>1.9.13</version>
</dependency>
JSON String:
{"status":"200","msg":"The JSON Data have been returned."}]}
JSONObject wsMsgObject = new JSONObject(resultString);
String status = wsMsgObject.getString("status");
System.out.println("status: "+status);//status: 200
String msg = wsMsgObject.getString("msg");
System.out.println("msg: "+msg);//msg: All JSON Data have been returned.