I am getting a response String from server like below
{ \"name\": \"Json\", \"detail\": { \"first_name\": \"Json\", \"last_name\": \"Scott\",
JSONArray ja = new JSONArray(json); JSONObject ob = ja.getJSONObject(0); String nh = ob.getString("status");
[ { "status" : "true" } ]
where 'json' is a String and status is the key from which i will get value