public static JSONObject fetchDirectoryObjectJSONObject(JSONObject jsonObject) throws Exception {
        JSONObject jObj = new JSONObject();
        jObj = jsonObject.optJSONObject("responseMsg");
        return jObj;
    }
public static JSONObject fetchDirectoryObjectJSONObject ( JSONObject jsonObject ) throws Exception { JSONObject jObj = new JSONObject ( ) ; jObj = jsonObject . optJSONObject ( "responseMsg" ) ; return jObj ; }
This method parses an JSON Object out of a collection of JSON Objects
within a string

@param jsonObject
@return An JSON Object that would contains the DirectoryObject.
@throws Exception