JsonConfig config = new JsonConfig();
config.setJsonPropertyFilter(new PropertyFilter(){
public boolean apply(Object source, String name, Object value) {
if(name.equals("ursMember")) { //要过滤的areas ,Map对象中的
return true;
} else {
return false;
}
}
});
//reJsonObject = JSONObject.fromObject(userInfo,config);
//reJsonObject.put("rc", resultCode);
config.setJsonPropertyFilter(new PropertyFilter(){
public boolean apply(Object source, String name, Object value) {
if(name.equals("ursMember")) { //要过滤的areas ,Map对象中的
return true;
} else {
return false;
}
}
});
//reJsonObject = JSONObject.fromObject(userInfo,config);
//reJsonObject.put("rc", resultCode);