完整内容请查看有道云笔记: 点击查看链接
对象序列化与反序列化
输出空值
属性过滤
个人项目中使用记录
public static final PropertyPreFilter VALUE_INFILTER = JSONUtil.getIncludeFilter(VALUE, NAME);
public static final PropertyPreFilter EXFILTER = JSONUtil.getExcludeFilter(TYPE, DESCRIPTION, ID);
son.put("listJoinWorkYear", JSONUtil.parseObjectToJSONArray(
findConstantsByTypeEq(ConstantRecordUtil.JOIN_WORK_YEAR), EXFILTER));