java 匹配指定的字段

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

 

posted @ 2020-03-16 17:41  又又IT  阅读(641)  评论(0编辑  收藏  举报