http://www.tuicool.com/articles/NRjQVj
http://www.cnblogs.com/sxdcgaq8080/p/5772784.html
JsonConfig config = new JsonConfig();
config.setExcludes(new String[]{"department"});
String json = JSONArray.fromObject(userList, config).toString();
使用JSON-LIB框架时默认是去类中寻找所有public的is,get方法来生成新的JSON数据,而不是仅仅根据类的属性来生成JSON数据