public Result<List<com.belerweb.social.weixin.bean.Group>> get(String accessToken) {
List<NameValuePair> params = new ArrayList<NameValuePair>();
weixin.addParameter(params, "access_token", accessToken);
String json = weixin.get("https://api.weixin.qq.com/cgi-bin/groups/get", params);
JSONObject jsonObject = new JSONObject(json);
Error error = Error.parse(jsonObject);
if (error == null) {
List<com.belerweb.social.weixin.bean.Group> groups =
Result.parse(jsonObject.getJSONArray("groups"),
com.belerweb.social.weixin.bean.Group.class);
return new Result<List<com.belerweb.social.weixin.bean.Group>>(groups);