fastJson去掉指定字段

public static String filterFieldsJson(Object src, Class<?> clazz, String... args)
{
SimplePropertyPreFilter filter = new SimplePropertyPreFilter(clazz, args);
return JSON.toJSONString(src, filter);
}

原文地址:https://www.cnblogs.com/Eilen/p/8377953.html