首页 > 技术文章 > java 匹配指定的字段

wangshuang123 2020-03-16 17:41 原文

fieldsLists.removeAll(fieldsRestturnLists);
                SimplePropertyPreFilter filter = new SimplePropertyPreFilter();
                filter.getExcludes().addAll(fieldsLists);
                String s = JSONArray.toJSONString(jdzCmsArticleVoList, filter);
                JSONArray jsonArray = JSONArray.parseArray(s);

 

推荐阅读