}
return result;
}
public ApiError getApiError() {
ApiError ae = new ApiError();
String[] tagList = {"code", "description"};
ArrayList<String> error = getValues("error", tagList);
ae.setErrorCode(error.get(0));
ae.setErrorDescription(error.get(1));
return ae;
}